From 44e132d4e926b95fd00c96e78dfe4d29207fa59e Mon Sep 17 00:00:00 2001 From: Marco Pasqualetti <24919330+marcalexiei@users.noreply.github.com> Date: Sat, 13 Jan 2024 17:00:21 +0100 Subject: [PATCH] test: re-include compatibility tests in coverage report (#2115) --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 863ef698..f6fb9ca3 100644 --- a/package.json +++ b/package.json @@ -103,10 +103,10 @@ "scripts": { "lint": "eslint src typescript test \"./*.{ts,mts}\"", "pretest": "npm run generate_ts_v4_index && npm run lint", - "test": "vitest --typecheck --workspace vitest.workspace.mts --run", - "test:runtime": "vitest --workspace vitest.workspace.mts --project runtime", - "test:compatibility": "vitest --workspace vitest.workspace.mts --project compatibility", - "test:coverage": "npm run test:runtime -- --coverage --run", + "test": "vitest --run", + "test:coverage": "vitest --project runtime --project compatibility --coverage --run", + "test:runtime": "vitest --project runtime", + "test:compatibility": "vitest --project compatibility", "test:local": "vitest --workspace vitest.workspace.local.mts", "build": "rimraf dist && rollup -c && echo '{\"type\":\"module\"}' > dist/esm/package.json && cpy \"./dist/umd/*.js\" ./", "generate_ts_v4_index": "cp index.d.ts index.v4.d.ts && node -e \"fs.writeFileSync('index.v4.d.ts', fs.readFileSync('index.v4.d.ts').toString().replace(/t.js/g, 't.v4.js').replace(/export type \\* /g, '// export type * '))\"",