mirror of https://github.com/buster-so/buster.git
Add unit and integration test scripts to package.json files across multiple packages
This commit is contained in:
parent
2fbe815c27
commit
2be9784516
|
@ -14,6 +14,8 @@
|
|||
"lint": "biome check",
|
||||
"start": "bun dist/index.js",
|
||||
"test": "vitest run",
|
||||
"test:unit": "vitest run --exclude '**/*.int.test.ts' --exclude '**/*.integration.test.ts'",
|
||||
"test:integration": "vitest run --include '**/*.int.test.ts' --include '**/*.integration.test.ts'",
|
||||
"test:coverage": "vitest --coverage",
|
||||
"test:watch": "vitest --watch",
|
||||
"typecheck": "tsc --noEmit"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"test": "vitest run",
|
||||
"test:watch": "vitest watch",
|
||||
"test:coverage": "vitest run --coverage",
|
||||
"test:integration": "vitest run tests/integration",
|
||||
"test:integration": "vitest run --include '**/*.int.test.ts' --include '**/*.integration.test.ts'",
|
||||
"test:integration:watch": "vitest watch tests/integration",
|
||||
"test:unit": "vitest run tests/unit",
|
||||
"typecheck": "tsc --noEmit"
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
"dev": "tsc --watch",
|
||||
"lint": "biome check",
|
||||
"test": "vitest run",
|
||||
"test:unit": "vitest run --exclude '**/*.int.test.ts' --exclude '**/*.integration.test.ts'",
|
||||
"test:integration": "vitest run --include '**/*.int.test.ts' --include '**/*.integration.test.ts'",
|
||||
"test:coverage": "vitest run --coverage",
|
||||
"test:watch": "vitest",
|
||||
"typecheck": "tsc --noEmit"
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
"dev:mastra": "mastra dev --dir src",
|
||||
"lint": "biome check",
|
||||
"test": "vitest run",
|
||||
"test:unit": "vitest run --exclude '**/*.int.test.ts' --exclude '**/*.integration.test.ts'",
|
||||
"test:integration": "vitest run --include '**/*.int.test.ts' --include '**/*.integration.test.ts'",
|
||||
"test:watch": "vitest watch",
|
||||
"test:coverage": "vitest run --coverage",
|
||||
"eval:metrics": "npx braintrust eval evals/agents/analyst-agent/metrics",
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
"lint:fix": "biome check --write",
|
||||
"test": "vitest run",
|
||||
"test:coverage": "vitest run --coverage",
|
||||
"test:integration": "vitest run tests/integration/",
|
||||
"test:integration": "vitest run --include '**/*.int.test.ts' --include '**/*.integration.test.ts'",
|
||||
"test:introspection": "vitest run tests/integration/data-source-introspection.test.ts",
|
||||
"test:unit": "vitest run tests/unit/",
|
||||
"test:watch": "vitest",
|
||||
|
|
|
@ -40,6 +40,8 @@
|
|||
"lint": "biome check",
|
||||
"stop": "pnpm run db:stop",
|
||||
"test": "vitest run",
|
||||
"test:unit": "vitest run --exclude '**/*.int.test.ts' --exclude '**/*.integration.test.ts'",
|
||||
"test:integration": "vitest run --include '**/*.int.test.ts' --include '**/*.integration.test.ts'",
|
||||
"test:coverage": "vitest run --coverage",
|
||||
"test:watch": "vitest",
|
||||
"typecheck": "tsc --noEmit"
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
"build": "tsc",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"test": "vitest run",
|
||||
"test:unit": "vitest run --exclude '**/*.int.test.ts' --exclude '**/*.integration.test.ts'",
|
||||
"test:integration": "vitest run --include '**/*.int.test.ts' --include '**/*.integration.test.ts'",
|
||||
"test:watch": "vitest watch",
|
||||
"test:coverage": "vitest run --coverage",
|
||||
"lint": "biome check",
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
"lint": "biome check",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"test": "vitest run",
|
||||
"test:unit": "vitest run --exclude '**/*.int.test.ts' --exclude '**/*.integration.test.ts'",
|
||||
"test:integration": "vitest run --include '**/*.int.test.ts' --include '**/*.integration.test.ts'",
|
||||
"test:watch": "vitest"
|
||||
},
|
||||
"exports": {
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
"dev": "tsc --watch",
|
||||
"lint": "biome check",
|
||||
"test": "vitest run",
|
||||
"test:unit": "vitest run --exclude '**/*.int.test.ts' --exclude '**/*.integration.test.ts'",
|
||||
"test:watch": "vitest watch",
|
||||
"test:coverage": "vitest run --coverage",
|
||||
"test:integration": "vitest run src/**/*.int.test.ts"
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
"build:commonjs:watch": "npm run build:commonjs && tsc --module commonjs --moduleResolution node --watch",
|
||||
"lint": "biome check",
|
||||
"test": "vitest run",
|
||||
"test:unit": "vitest run --exclude '**/*.int.test.ts' --exclude '**/*.integration.test.ts'",
|
||||
"test:integration": "vitest run --include '**/*.int.test.ts' --include '**/*.integration.test.ts'",
|
||||
"test:coverage": "vitest run --coverage",
|
||||
"test:watch": "vitest watch",
|
||||
"typecheck": "tsc --noEmit"
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
"typecheck": "tsc --noEmit",
|
||||
"lint": "biome check",
|
||||
"test": "vitest run",
|
||||
"test:unit": "vitest run --exclude '**/*.int.test.ts' --exclude '**/*.integration.test.ts'",
|
||||
"test:integration": "vitest run --include '**/*.int.test.ts' --include '**/*.integration.test.ts'",
|
||||
"test:watch": "vitest watch",
|
||||
"test:coverage": "vitest run --coverage"
|
||||
},
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
"build": "tsc --build",
|
||||
"lint": "biome check",
|
||||
"test": "vitest run",
|
||||
"test:unit": "vitest run --exclude '**/*.int.test.ts' --exclude '**/*.integration.test.ts'",
|
||||
"test:integration": "vitest run --include '**/*.int.test.ts' --include '**/*.integration.test.ts'",
|
||||
"test:coverage": "vitest --coverage",
|
||||
"test:ui": "vitest --ui",
|
||||
"test:watch": "vitest",
|
||||
|
|
Loading…
Reference in New Issue