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/colorscheme.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'e2e/colorscheme.test.ts') diff --git a/e2e/colorscheme.test.ts b/e2e/colorscheme.test.ts index 3927a72..9f77131 100644 --- a/e2e/colorscheme.test.ts +++ b/e2e/colorscheme.test.ts @@ -13,7 +13,7 @@ describe("colorscheme test", () => { let webdriver: WebDriver; let page: Page; - before(async () => { + beforeAll(async () => { const opts = (new FirefoxOptions() as any).setPreference( "ui.systemUsesDarkTheme", 1 @@ -28,7 +28,7 @@ describe("colorscheme test", () => { await server.start(); }); - after(async () => { + afterAll(async () => { await server.stop(); if (lanthan) { await lanthan.quit(); -- cgit v1.2.3