Snippet tests skipped for builds with snippets
Environment
- OS version: Ubuntu 20.04
- Browser version: N/A
- Extension version: Adblock Plus 3.11.4
- Last working version: TBD
Steps to reproduce
- Create extension build with snippets.
- Run
npm test
in adblockpluschrome subdirectory.
Observed behavior
Snippet tests are skipped (see CI pipeline).
Expected behavior
Snippet tests are not skipped. They should only be skipped when creating an extension build without snippets.
Further information
This regression was introduced in #1026 (closed), which renamed snippets.min.js to snippets.json without updating the snippetsIncluded()
function accordingly.
Hints for testers
The tests in the "webext" child pipeline are run using builds without snippets. Therefore snippets tests continue to be skipped in the CI pipeline.