Skip to content

Commit f567834

Browse files
committed
Add devtools coverage back
1 parent e33d67a commit f567834

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@
129129
"dev:compat": "microbundle watch --raw --no-generateTypes --format cjs --cwd compat --globals 'preact/hooks=preactHooks'",
130130
"test": "npm-run-all build lint test:unit",
131131
"test:unit": "run-p test:mocha test:vitest test:vitest:min test:ts",
132-
"test:vitest:watch": "vitest",
133132
"test:vitest": "cross-env COVERAGE=true vitest run",
134133
"test:vitest:min": "cross-env MINIFY=true vitest run",
134+
"test:vitest:watch": "vitest",
135135
"test:ts": "run-p test:ts:*",
136136
"test:ts:core": "tsc -p test/ts/ && mocha --require \"@babel/register\" test/ts/**/*-test.js",
137137
"test:ts:compat": "tsc -p compat/test/ts/",

vitest.config.mjs

+2
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ export default defineConfig({
200200
? [
201201
'**/dist/preact.mjs',
202202
'**/compat/dist/compat.mjs',
203+
'**/devtools/dist/devtools.mjs',
203204
'**/jsx-runtime/dist/jsxRuntime.mjs',
204205
'**/debug/dist/debug.mjs',
205206
'**/hooks/dist/hooks.mjs',
@@ -208,6 +209,7 @@ export default defineConfig({
208209
: [
209210
'**/src/**/*',
210211
'**/debug/src/**/*',
212+
'**/devtools/src/**/*',
211213
'**/hooks/src/**/*',
212214
'**/compeat/src/**/*',
213215
'**/jsx-runtime/src/**/*',

0 commit comments

Comments
 (0)