diff options
author | Yuchen Pei <hi@ypei.me> | 2022-10-13 11:50:15 +1100 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-10-13 11:50:15 +1100 |
commit | 55c748d6a50af4e93b138bf73e37c71f946fab19 (patch) | |
tree | 8f78d7535e741cf51f15bac73de5c8de4c97cb4b /test | |
parent | b849b8d461479cf6530c77b97b094807840ce0d7 (diff) |
minor fix of noscript.js, and make it show up in console debugger
Diffstat (limited to 'test')
-rw-r--r-- | test/spec/LibreJSSpec.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/spec/LibreJSSpec.js b/test/spec/LibreJSSpec.js index 7828bcb..70ec339 100644 --- a/test/spec/LibreJSSpec.js +++ b/test/spec/LibreJSSpec.js @@ -257,6 +257,18 @@ describe('LibreJS\' components', () => { }); }); + describe('FIXME: dummy test to get noscript.js displayed in the console debugger', () => { + beforeAll(async () => { + await browser.tabs.executeScript(tab.id, { + file: '/content/noscript.js' + }); + }); + + it('IGNORE ME', () => { + expect(1).toBe(1); + }); + }); + describe('The external (Web Labels) license checker', () => { let { ExternalLicenses } = LibreJS; let check; |