]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
test: fix hmr test id
authorEvan You <yyx990803@gmail.com>
Mon, 11 May 2020 19:44:13 +0000 (15:44 -0400)
committerEvan You <yyx990803@gmail.com>
Mon, 11 May 2020 19:44:13 +0000 (15:44 -0400)
packages/runtime-core/__tests__/hmr.spec.ts

index e23a222ff2a81ca45153d5d068260a4605d35369..45d86daa5334bb1ea250f0320cdfff5a0a5fdda9 100644 (file)
@@ -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,