aboutsummaryrefslogtreecommitdiff
path: root/common/Test.js
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-04-06 17:35:05 +1000
committerYuchen Pei <hi@ypei.me>2022-04-07 12:18:45 +1000
commit34bcc1a5c2750b6f6fa9d9b971ac8aff796ddd1c (patch)
tree8e2a4e27fd168c45bb9a5157e172822258417d13 /common/Test.js
parent2e10129fa088584af25dcb34834551380e8f4521 (diff)
linting
- eslint - also adding eslintrc
Diffstat (limited to 'common/Test.js')
-rw-r--r--common/Test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/Test.js b/common/Test.js
index 7acbfa0..88baff2 100644
--- a/common/Test.js
+++ b/common/Test.js
@@ -19,9 +19,9 @@
* along with GNU LibreJS. If not, see <http://www.gnu.org/licenses/>.
*/
-"use strict";
+'use strict';
var Test = (() => {
- const RUNNER_URL = browser.extension.getURL("/test/SpecRunner.html");
+ const RUNNER_URL = browser.extension.getURL('/test/SpecRunner.html');
return {
/*
returns RUNNER_URL if it's a test-enabled build or an about:debugging
@@ -50,6 +50,6 @@ var Test = (() => {
}
};
})();
-if (typeof module === "object") {
+if (typeof module === 'object') {
module.exports = Test;
}