diff --git a/package.json b/package.json index 76eeece..497300b 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "test": "vitest run", "test:types": "tsc --noEmit", "test:bun": "bun test ./tests/bun-sqlite.test.bun", - "test:d1": "vitest --root ./tests/cloudflare/ run", + "test:d1": "vitest --root ./tests/cloudflare/", "test:ci": "pnpm test -- --coverage --reporter=default --reporter=junit --outputFile=./junit.xml && pnpm test:bun && test:d1", "lint": "biome lint", "format": "biome format --write", diff --git a/tests/cloudflare/d1-cloudflare-test.test.ts b/tests/cloudflare/d1-cloudflare-test.ts similarity index 100% rename from tests/cloudflare/d1-cloudflare-test.test.ts rename to tests/cloudflare/d1-cloudflare-test.ts diff --git a/tests/cloudflare/vitest.config.mts b/tests/cloudflare/vitest.config.mts index 98f33a6..c6cb572 100644 --- a/tests/cloudflare/vitest.config.mts +++ b/tests/cloudflare/vitest.config.mts @@ -2,6 +2,7 @@ import { defineWorkersConfig } from "@cloudflare/vitest-pool-workers/config"; export default defineWorkersConfig({ test: { + include: ["./d1-cloudflare-test.ts"], poolOptions: { workers: { isolatedStorage: true,