Skip to content

Commit 67a2fec

Browse files
eluce2claude
andcommitted
fix(ci): remove doppler from test scripts
- cli: remove doppler wrapper, exclude E2E test requiring credentials - fmodata: remove doppler wrapper (E2E tests already excluded) - better-auth: fix import paths in e2e test Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 179ffd0 commit 67a2fec

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

packages/better-auth/tests/e2e/adapter.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { runAdapterTest } from "better-auth/adapters/test";
22
import { beforeAll, describe, expect, it } from "vitest";
33
import { z } from "zod/v4";
4-
import { FileMakerAdapter } from "../src";
5-
import { createRawFetch } from "../src/odata";
4+
import { FileMakerAdapter } from "../../src";
5+
import { createRawFetch } from "../../src/odata";
66

77
if (!process.env.FM_SERVER) {
88
throw new Error("FM_SERVER is not set");

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"pub:beta": "NODE_ENV=production pnpm build && npm publish --tag beta --access public",
5252
"pub:next": "NODE_ENV=production pnpm build && npm publish --tag next --access public",
5353
"pub:release": "NODE_ENV=production pnpm build && npm publish --access public",
54-
"test": "doppler run -c test_cli -- vitest run"
54+
"test": "vitest run"
5555
},
5656
"dependencies": {
5757
"@better-fetch/fetch": "1.1.17",

packages/cli/vitest.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ export default defineConfig({
66
environment: "node",
77
setupFiles: ["./tests/setup.ts"],
88
include: ["tests/**/*.test.ts"],
9+
// Exclude E2E tests that require real credentials
10+
exclude: ["**/node_modules/**", "**/dist/**", "tests/browser-apps.test.ts"],
911
testTimeout: 60_000, // 60 seconds for CLI tests which can be slow
1012
coverage: {
1113
provider: "v8",

packages/fmodata/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"lint": "biome check . --write",
2525
"lint:summary": "biome check . --reporter=summary",
2626
"dev": "tsc --watch",
27-
"test": "doppler run -- vitest run --typecheck",
27+
"test": "vitest run --typecheck",
2828
"typecheck": "tsc --noEmit",
2929
"test:typecheck": "vitest run --typecheck",
3030
"test:watch": "vitest --typecheck",

0 commit comments

Comments
 (0)