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/navigate.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'e2e/navigate.test.ts') diff --git a/e2e/navigate.test.ts b/e2e/navigate.test.ts index d0942b6..b0f71b3 100644 --- a/e2e/navigate.test.ts +++ b/e2e/navigate.test.ts @@ -56,7 +56,7 @@ describe("navigate test", () => { let webdriver: WebDriver; let browser: any; - before(async () => { + beforeAll(async () => { await server.start(); const opts = (new FirefoxOptions() as any).setPreference( @@ -71,7 +71,7 @@ describe("navigate test", () => { browser = lanthan.getWebExtBrowser(); }); - after(async () => { + afterAll(async () => { await server.stop(); if (lanthan) { await lanthan.quit(); -- cgit v1.2.3