first webextension test

This commit is contained in:
Shin'ya Ueoka 2018-02-04 19:27:22 +09:00
parent bb5b6d367c
commit f6f64297aa
10 changed files with 149 additions and 0 deletions

View file

@ -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');
});
});