aboutsummaryrefslogtreecommitdiff
path: root/test.js
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-04-07 12:17:38 +1000
committerYuchen Pei <hi@ypei.me>2022-04-07 12:17:38 +1000
commitae25ad78906179e1448ff7d97957810e2be40206 (patch)
treeca56b583f36ccd317900e6b51c4fcd86f161bc56 /test.js
parent52398eafaf99ebbba7ff5a28b832830be394bf1d (diff)
nop whitespace formatting change.
- ran eglot-format using typescript-language-server on all js files in the repo except those under /hash_script/ - verify only whitespace changed: git diff --word-diff-regex=. 62d6a71 62d6a71~1
Diffstat (limited to 'test.js')
-rw-r--r--test.js34
1 files changed, 17 insertions, 17 deletions
diff --git a/test.js b/test.js
index d87353b..d695262 100644
--- a/test.js
+++ b/test.js
@@ -30,23 +30,23 @@
const firefox = require('selenium-webdriver/firefox');
new webdriver.Builder().forBrowser('firefox')
.setFirefoxOptions(new firefox.Options()
- // Uncomment this line to test using icecat
-// .setBinary("/usr/bin/icecat")
- .headless()).build()
+ // Uncomment this line to test using icecat
+ // .setBinary("/usr/bin/icecat")
+ .headless()).build()
.then(driver =>
driver.installAddon("./librejs.xpi", /*isTemporary=*/true)
- .then(driver.get("about:debugging#/runtime/this-firefox"))
- .then(_ => driver.findElements(webdriver.By.css('.fieldpair dd')))
- .then(es => es[2].getText())
- .then(uuid =>
- driver.get('moz-extension://'
- + uuid + '/test/SpecRunner.html'
- + (process.argv[2] ? '?seed=' + process.argv[2] : '') ))
- .then(_ => driver.wait(_ =>
- driver.findElement(webdriver.By.css('.jasmine-alert'))
- .then(e => e.getText()), 10000))
- .then(_ => driver.findElement(webdriver.By.css('.jasmine-alert')))
- .then(e => e.getText())
- .then(console.log)
- .then(_ => driver.quit()));
+ .then(driver.get("about:debugging#/runtime/this-firefox"))
+ .then(_ => driver.findElements(webdriver.By.css('.fieldpair dd')))
+ .then(es => es[2].getText())
+ .then(uuid =>
+ driver.get('moz-extension://'
+ + uuid + '/test/SpecRunner.html'
+ + (process.argv[2] ? '?seed=' + process.argv[2] : '')))
+ .then(_ => driver.wait(_ =>
+ driver.findElement(webdriver.By.css('.jasmine-alert'))
+ .then(e => e.getText()), 10000))
+ .then(_ => driver.findElement(webdriver.By.css('.jasmine-alert')))
+ .then(e => e.getText())
+ .then(console.log)
+ .then(_ => driver.quit()));
})();