File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
test/unit/features/component Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ export function renderMixin (Vue: Class<Component>) {
164
164
// warn duplicate slot usage
165
165
if ( slotNodes && process . env . NODE_ENV !== 'production' ) {
166
166
slotNodes . _rendered && warn (
167
- `Duplicate presense of slot "${ name } " found in the same render tree ` +
167
+ `Duplicate presence of slot "${ name } " found in the same render tree ` +
168
168
`- this will likely cause render errors.` ,
169
169
this
170
170
)
Original file line number Diff line number Diff line change @@ -472,8 +472,8 @@ describe('Component slot', () => {
472
472
}
473
473
}
474
474
} ) . $mount ( )
475
- expect ( 'Duplicate presense of slot "default"' ) . toHaveBeenWarned ( )
476
- expect ( 'Duplicate presense of slot "a"' ) . toHaveBeenWarned ( )
475
+ expect ( 'Duplicate presence of slot "default"' ) . toHaveBeenWarned ( )
476
+ expect ( 'Duplicate presence of slot "a"' ) . toHaveBeenWarned ( )
477
477
} )
478
478
479
479
it ( 'should not warn valid conditional slots' , ( ) => {
@@ -492,7 +492,7 @@ describe('Component slot', () => {
492
492
}
493
493
}
494
494
} ) . $mount ( )
495
- expect ( 'Duplicate presense of slot "default"' ) . not . toHaveBeenWarned ( )
495
+ expect ( 'Duplicate presence of slot "default"' ) . not . toHaveBeenWarned ( )
496
496
} )
497
497
498
498
// #3518
You can’t perform that action at this time.
0 commit comments