File tree 2 files changed +1
-2
lines changed
2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 45
45
"build:types" : " rimraf temp && tsc --declaration --emitDeclarationOnly --outDir temp && api-extractor run && api-extractor run -c packages/compiler-sfc/api-extractor.json" ,
46
46
"test" : " npm run ts-check && npm run test:types && npm run test:unit && npm run test:e2e && npm run test:ssr && npm run test:sfc" ,
47
47
"test:unit" : " vitest run test/unit" ,
48
- "test:watch" : " vitest run test/unit/features/v3/apiWatch.spec.ts" ,
49
48
"test:ssr" : " npm run build:ssr && vitest run server-renderer" ,
50
49
"test:sfc" : " vitest run compiler-sfc" ,
51
50
"test:e2e" : " npm run build -- full-prod,server-renderer-basic && vitest run test/e2e" ,
Original file line number Diff line number Diff line change @@ -1205,7 +1205,7 @@ describe('api: watch', () => {
1205
1205
test ( 'trigger when adding new property with Vue.set' , async ( ) => {
1206
1206
const spy = vi . fn ( )
1207
1207
const r = reactive ( { exist : 5 } )
1208
- watch ( r , spy , { deep : true } )
1208
+ watch ( ( ) => r , spy , { deep : true } )
1209
1209
set ( r , 'add' , 1 )
1210
1210
1211
1211
await nextTick ( )
You can’t perform that action at this time.
0 commit comments