blob: c2d5208be4be8f3d58f5133723c6ed8cb8d937c7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import path from "path";
// tslint:disable-next-line: no-implicit-dependencies
import { Application } from "spectron";
const applicationPath: string = path.join(__dirname, "application");
const electronPath: string = path.join(__dirname, "application", "node_modules", ".bin", "electron");
describe("RendererReloader", () => {
it("start() / stop()", async () => {
const app: Application = new Application({
args: [applicationPath],
path: electronPath,
});
await app.start();
await app.stop();
});
});
|