aboutsummaryrefslogtreecommitdiff
path: root/test.js
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-04-06 12:42:23 +1000
committerYuchen Pei <hi@ypei.me>2022-04-07 12:18:45 +1000
commit2e10129fa088584af25dcb34834551380e8f4521 (patch)
tree6e01cc9a705b7963638711f03f26744090f7c287 /test.js
parent76fd7f798ada63f5505c783646a9b21ad0e7da21 (diff)
clean up legacy_license_check.js
Diffstat (limited to 'test.js')
-rw-r--r--test.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/test.js b/test.js
index d695262..7c4b5ba 100644
--- a/test.js
+++ b/test.js
@@ -32,7 +32,8 @@
.setFirefoxOptions(new firefox.Options()
// Uncomment this line to test using icecat
// .setBinary("/usr/bin/icecat")
- .headless()).build()
+ .headless()
+ ).build()
.then(driver =>
driver.installAddon("./librejs.xpi", /*isTemporary=*/true)
.then(driver.get("about:debugging#/runtime/this-firefox"))
@@ -48,5 +49,6 @@
.then(_ => driver.findElement(webdriver.By.css('.jasmine-alert')))
.then(e => e.getText())
.then(console.log)
- .then(_ => driver.quit()));
+ .then(_ => driver.quit())
+ );
})();