From 55c748d6a50af4e93b138bf73e37c71f946fab19 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Thu, 13 Oct 2022 11:50:15 +1100 Subject: minor fix of noscript.js, and make it show up in console debugger --- test/spec/LibreJSSpec.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test') 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; -- cgit v1.2.3