Skip to content

conftest: Improve mocking of webpack stats

Instead of writing a dummy webpack-stats.json file into the static folder of swh-web when pytest is configured, prefer to autouse a session scoped fixture mocking the return value of WebpackLoader.load_assets.

Merge request reports