|
|
@ -20,7 +20,7 @@ const newApp = () => { |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
describe("zoom test", () => { |
|
|
|
describe("console test", () => { |
|
|
|
const port = 12321; |
|
|
|
const port = 12321; |
|
|
|
let http; |
|
|
|
let http; |
|
|
|
let firefox; |
|
|
|
let firefox; |
|
|
@ -31,7 +31,7 @@ describe("zoom test", () => { |
|
|
|
|
|
|
|
|
|
|
|
before(async() => { |
|
|
|
before(async() => { |
|
|
|
firefox = await lanthan.firefox(); |
|
|
|
firefox = await lanthan.firefox(); |
|
|
|
await firefox.session.installAddon(path.join(__dirname, '..')); |
|
|
|
await firefox.session.installAddonFromPath(path.join(__dirname, '..')); |
|
|
|
session = firefox.session; |
|
|
|
session = firefox.session; |
|
|
|
browser = firefox.browser; |
|
|
|
browser = firefox.browser; |
|
|
|
http = newApp().listen(port); |
|
|
|
http = newApp().listen(port); |
|
|
|