Evan You 6 роки тому
батько
коміт
aa1672a8bd
1 змінених файлів з 2 додано та 2 видалено
  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,