Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ earns its place by catching a regression quickly.
- **One test per behaviour.** Stress, fuzz and "adversarial" suites that build many real git
repositories or processes do not go in the repo. When a probe finds a bug, keep the one
regression test for it.
- **Any order, clean checkout.** Suites run with `bun test --isolate`, in an order that differs
- **Any order, clean checkout.** Each package's suite runs in one process, in an order that differs
between machines, with no root `.env`. Do not `mock.module` a module that other files import for
real (`env`, a client, a logger). Give the code its input instead: a parameter, a placeholder in
the package's test preload, or a local server.
Expand Down
2 changes: 1 addition & 1 deletion apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"clean": "git clean -xdf .cache .next .turbo node_modules",
"dev": "dotenv -e ../../.env -- sh -c 'exec next dev --port ${API_PORT:-3001}'",
"start": "next start --port 3001",
"test": "bun test --isolate src",
"test": "bun test src",
"typecheck": "tsc --noEmit"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"generate:routes": "tsr generate",
"pretypecheck": "bun run generate:icons && bun run generate:routes",
"typecheck": "tsc --noEmit",
"test": "bun test --isolate"
"test": "bun test"
},
"dependencies": {
"@agentclientprotocol/claude-agent-acp": "0.85.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/discord-triage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"start": "bun run src/index.ts",
"deploy": "./scripts/deploy.sh",
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
"test": "bun test --isolate"
"test": "bun test"
},
"dependencies": {
"@anthropic-ai/sdk": "0.78.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/marketing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dev": "dotenv -e ../../.env -- sh -c 'exec next dev --port ${MARKETING_PORT:-3002}'",
"lint:prose": "vale --config=vale.ini content \"src/app/[lang]/layout.tsx\" src/components/JsonLd/JsonLd.tsx src/lib/product-facts.ts src/lib/llms.ts \"src/app/[lang]/components/Header/constants.tsx\" \"src/app/[lang]/components/HeroSection/HeroSection.tsx\" \"src/app/[lang]/components/HowItWorksSection\" \"src/app/[lang]/components/FeaturesSection/constants.ts\" \"src/app/[lang]/components/FAQSection/constants.ts\" \"src/app/[lang]/components/CTASection/CTASection.tsx\" \"src/app/[lang]/components/SecuritySection/SecuritySection.tsx\" \"src/app/[lang]/pages\" \"src/app/[lang]/automations\" \"src/app/[lang]/browser\" \"src/app/[lang]/plugins\"",
"start": "next start",
"test": "bun test --isolate",
"test": "bun test",
"typecheck": "tsc --noEmit"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"storybook:ios": "STORYBOOK_ENABLED=true expo start --ios",
"storybook:android": "STORYBOOK_ENABLED=true expo start --android",
"storybook-generate": "sb-rn-get-stories",
"test": "bun test --isolate --pass-with-no-tests",
"test": "bun test --pass-with-no-tests",
"typecheck": "tsc --noEmit",
"lint": "biome check .",
"lint:fix": "biome check --write ."
Expand Down
2 changes: 1 addition & 1 deletion apps/relay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"dev": "wrangler dev",
"deploy": "wrangler deploy",
"test": "bun test --isolate",
"test": "bun test",
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
},
"dependencies": {
Expand Down
2 changes: 0 additions & 2 deletions apps/relay/src/host-tunnel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import { expect, mock, test } from "bun:test";
import type { Connection } from "partyserver";

mock.module("partyserver", () => ({ Server: class {} }));

const { HostTunnel } = await import("./host-tunnel");

function socket(id: string, kind: "host" | "client" | "dial") {
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"test": "bun test --isolate src",
"test": "bun test src",
"build": "next build",
"clean": "git clean -xdf .cache .next .turbo node_modules",
"predev": "bun run --filter=@superset/i18n build",
Expand Down
2 changes: 1 addition & 1 deletion packages/agent-setup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"scripts": {
"clean": "git clean -xdf .cache .turbo dist node_modules",
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
"test": "bun test --isolate"
"test": "bun test"
},
"dependencies": {
"@superset/shared": "workspace:*"
Expand Down
104 changes: 0 additions & 104 deletions packages/agent-setup/src/agent-wrappers-pi.test.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"scripts": {
"clean": "git clean -xdf .cache .turbo dist node_modules",
"test": "bun test --isolate",
"test": "bun test",
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/chat-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"clean": "git clean -xdf .cache .turbo dist node_modules",
"generate": "drizzle-kit generate",
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
"test": "bun test --isolate --pass-with-no-tests"
"test": "bun test --pass-with-no-tests"
},
"dependencies": {
"@anthropic-ai/claude-agent-sdk": "0.3.286",
Expand Down
2 changes: 1 addition & 1 deletion packages/chat-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"scripts": {
"clean": "git clean -xdf .cache .turbo dist node_modules",
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
"test": "bun test --isolate --pass-with-no-tests"
"test": "bun test --pass-with-no-tests"
},
"dependencies": {
"@lexical/react": "0.41.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"scripts": {
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
"test": "bun test --isolate --pass-with-no-tests"
"test": "bun test --pass-with-no-tests"
},
"dependencies": {
"marked": "17.0.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"scripts": {
"typecheck": "tsc --noEmit",
"test": "bun test --isolate"
"test": "bun test"
},
"devDependencies": {
"@superset/typescript": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"prebuild:dist": "bun run --filter=@superset/i18n build",
"build:dist": "bun run scripts/build-dist.ts",
"typecheck": "tsc --noEmit",
"test": "bun test --isolate"
"test": "bun test"
},
"dependencies": {
"@clack/prompts": "0.10.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/cloud-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"scripts": {
"clean": "git clean -xdf .cache .turbo dist node_modules",
"test": "bun test --isolate",
"test": "bun test",
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/email/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dev": "NEXT_PUBLIC_MARKETING_URL=$(grep NEXT_PUBLIC_MARKETING_URL ../../.env | cut -d '=' -f2) email dev --dir src/emails",
"export": "email export --dir src/emails",
"sync:automations": "bun scripts/sync-automations.ts",
"test": "bun test --isolate",
"test": "bun test",
"typecheck": "tsc --noEmit"
},
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/host-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"scripts": {
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
"test": "bun test --isolate --pass-with-no-tests"
"test": "bun test --pass-with-no-tests"
},
"dependencies": {
"superjson": "2.2.6"
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"extract": "bun x --bun lingui extract --clean --overwrite --workers 1",
"compile": "bun x --bun lingui compile --strict --verbose --workers 1",
"check": "bun run extract && bun run compile",
"test": "bun test --isolate",
"test": "bun test",
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
"clean": "git clean -xdf .cache .turbo node_modules"
},
Expand Down
111 changes: 0 additions & 111 deletions packages/i18n/test/fixtures/provider-state.tsx

This file was deleted.

Loading
Loading