Fix flaky "informs when the filter engine runs for the first time" test
Background
Our core exposes filterStorage.firstRun
property depending on whether this is the first run of the core. In SDK we return foundStorage
in EWE.start()
call as a property. Internally we detect it by checking whether the file "patterns.ini" exists. So we need to avoid tests interference to prevent state leak.
TODO
Clear the storage before or after the tests. Note we override IO in SDK to IndexDB-based (io-idb.js) or browser.storage.local
(io-bsl.js) implementations.
Edited by Anton Smirnov