Explorar o código

test: fix hmr test id

Evan You %!s(int64=6) %!d(string=hai) anos
pai
achega
aa1672a8bd
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      packages/runtime-core/__tests__/hmr.spec.ts

+ 2 - 2
packages/runtime-core/__tests__/hmr.spec.ts

@@ -193,8 +193,8 @@ describe('hot module replacement', () => {
   // #1157 - component should force full props update when HMR is active
   test('force update child component w/ static props', () => {
     const root = nodeOps.createElement('div')
-    const parentId = 'test2-parent'
-    const childId = 'test2-child'
+    const parentId = 'test-force-props-parent'
+    const childId = 'test-force-props-child'
 
     const Child: ComponentOptions = {
       __hmrId: childId,