From 9a0c283ae2ebb7321b8f46a97178e5e284b02da4 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 26 Sep 2021 17:22:54 +0900 Subject: Move to jest on e2e test --- e2e/follow.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'e2e/follow.test.ts') diff --git a/e2e/follow.test.ts b/e2e/follow.test.ts index 90f9a59..44d35e4 100644 --- a/e2e/follow.test.ts +++ b/e2e/follow.test.ts @@ -134,7 +134,7 @@ describe("follow test", () => { let webdriver: WebDriver; let browser: any; - before(async () => { + beforeAll(async () => { lanthan = await Builder.forBrowser("firefox") .spyAddon(path.join(__dirname, "..")) .build(); @@ -143,7 +143,7 @@ describe("follow test", () => { await server.start(); }); - after(async () => { + afterAll(async () => { await server.stop(); if (lanthan) { await lanthan.quit(); -- cgit v1.2.3