From 853f431a679a1b09fea32c3e6aad4388cf41a945 Mon Sep 17 00:00:00 2001 From: Joshua Date: Sat, 19 Oct 2024 14:48:03 +0200 Subject: [PATCH] refactor: remove unnecessary comma in vitest.config.mts --- .github/workflows/test.yml | 8 -------- package.json | 3 ++- vitest.config.mts | 2 +- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a3e784d..993ad67 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,14 +40,6 @@ jobs: echo "id = \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"" >> wrangler.toml env: KV_NAMESPACE_ID: ${{ secrets.CF_KV_ID }} - - - name: ☂️ Coverage - uses: deepsourcelabs/test-coverage-action@v1.1.2 - with: - key: javascript - coverage-file: coverage.xml - dsn: ${{ secrets.DEEPSOURCE_DSN }} - - name: ⚙️ Install Dependencies run: pnpm install --frozen-lockfile - name: 📋 Test diff --git a/package.json b/package.json index 8f95710..1276572 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,8 @@ "commitlint": "commitlint --edit", "release": "release-it", "release:beta": "release-it --preRelease=beta", - "release:rc": "release-it --preRelease=rc" + "release:rc": "release-it --preRelease=rc", + "coverage": "vitest --coverage" }, "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.5.20", diff --git a/vitest.config.mts b/vitest.config.mts index 503a717..25a0133 100644 --- a/vitest.config.mts +++ b/vitest.config.mts @@ -6,6 +6,6 @@ export default defineWorkersConfig({ workers: { wrangler: { configPath: './wrangler.toml' }, }, - }, + } }, });