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
e2e/ambassador/src/client

View file

@ -0,0 +1,17 @@
import { WINDOWS_CREATE, WINDOWS_REMOVE } from '../shared/messages';
import * as ipc from './ipc';
const create = () => {
return ipc.send({
type: WINDOWS_CREATE
});
};
const remove = (windowId) => {
return ipc.send({
type: WINDOWS_REMOVE,
windowId,
});
};
export { create, remove };