diff options
author | Yuchen Pei <hi@ypei.me> | 2022-04-06 12:42:23 +1000 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-04-07 12:18:45 +1000 |
commit | 2e10129fa088584af25dcb34834551380e8f4521 (patch) | |
tree | 6e01cc9a705b7963638711f03f26744090f7c287 /test.js | |
parent | 76fd7f798ada63f5505c783646a9b21ad0e7da21 (diff) |
clean up legacy_license_check.js
Diffstat (limited to 'test.js')
-rw-r--r-- | test.js | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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()) + ); })(); |