first webextension test
This commit is contained in:
vanhempi
bb5b6d367c
commit
f6f64297aa
10 muutettua tiedostoa jossa 149 lisäystä ja 0 poistoa
19
e2e/contents/scroll.test.js
Tavallinen tiedosto
19
e2e/contents/scroll.test.js
Tavallinen tiedosto
|
@ -0,0 +1,19 @@
|
|||
import { expect } from "chai";
|
||||
import * as windows from "../ambassador/src/client/windows";
|
||||
|
||||
describe("scroll test", () => {
|
||||
let targetWindow;
|
||||
before(() => {
|
||||
return windows.create().then((win) => {
|
||||
targetWindow = win;
|
||||
});
|
||||
});
|
||||
|
||||
after(() => {
|
||||
return windows.remove(targetWindow.id);
|
||||
});
|
||||
|
||||
it('runs test', () => {
|
||||
expect(targetWindow.id).be.a('number');
|
||||
});
|
||||
});
|
Viittaa uudessa ongelmassa