From 2e10129fa088584af25dcb34834551380e8f4521 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Wed, 6 Apr 2022 12:42:23 +1000 Subject: clean up legacy_license_check.js --- test.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test.js') 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()) + ); })(); -- cgit v1.2.3