update tests

This commit is contained in:
Adam Matthiesen 2024-01-26 01:58:27 -08:00
parent 8bc515cc6a
commit 936d09d170
2 changed files with 5 additions and 5 deletions

View File

@ -12,8 +12,10 @@
"lint": "biome check .", "lint": "biome check .",
"lint:fix": "biome check --apply .", "lint:fix": "biome check --apply .",
"base": "pnpm i --frozen-lockfile", "base": "pnpm i --frozen-lockfile",
"test:api": "vitest run --project astro-ghostcms", "api:test": "pnpm --filter astro-ghostcms test",
"test:api:watch": "vitest --project astro-ghostcms" "api:test:watch": "pnpm --filter astro-ghostcms test:watch",
"api:test:coverage": "pnpm --filter astro-ghostcms test:coverage",
"api:test:ci": "pnpm --filter astro-ghostcms test:ci"
}, },
"devDependencies": { "devDependencies": {
"@biomejs/biome": "1.5.3", "@biomejs/biome": "1.5.3",

View File

@ -56,9 +56,7 @@
"test": "vitest run", "test": "vitest run",
"test:watch": "vitest", "test:watch": "vitest",
"test:coverage": "vitest run --coverage", "test:coverage": "vitest run --coverage",
"test:integration": "vitest run -c ./vitest.config.integration.ts", "test:ci": "vitest run --coverage.enabled --coverage.reporter='text-summary'"
"test:integration:watch": "vitest -c ./vitest.config.integration.ts",
"test-ci": "vitest run --coverage.enabled --coverage.reporter='text-summary'"
}, },
"peerDependencies": { "peerDependencies": {
"astro": "^4.2.3" "astro": "^4.2.3"