first webextension test

This commit is contained in:
Shin'ya Ueoka 2018-02-04 19:27:22 +09:00
vanhempi bb5b6d367c
commit f6f64297aa
10 muutettua tiedostoa jossa 149 lisäystä ja 0 poistoa

19
e2e/contents/scroll.test.js Tavallinen tiedosto
Näytä 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');
});
});