Skip to content

Commit f8ad903

Browse files
committed
fix tests
1 parent da622f4 commit f8ad903

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

‎tests/startup-attempt.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// @vitest-environment happy-dom
2+
13
import { beforeEach, describe, expect, it } from "vitest";
24
import { beginStartupAttempt } from "../src/startup-attempt";
35

‎vitest.config.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { defineConfig } from "vitest/config";
2+
3+
export default defineConfig({
4+
test: {
5+
include: ["tests/**/*.test.ts"],
6+
},
7+
});

0 commit comments

Comments
 (0)