aboutsummaryrefslogtreecommitdiff
path: root/e2e/colorscheme.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'e2e/colorscheme.test.ts')
-rw-r--r--e2e/colorscheme.test.ts4
1 files changed, 2 insertions, 2 deletions
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();