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>) {
164164 // warn duplicate slot usage
165165 if ( slotNodes && process . env . NODE_ENV !== 'production' ) {
166166 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 ` +
168168 `- this will likely cause render errors.` ,
169169 this
170170 )
Original file line number Diff line number Diff line change @@ -472,8 +472,8 @@ describe('Component slot', () => {
472472 }
473473 }
474474 } ) . $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 ( )
477477 } )
478478
479479 it ( 'should not warn valid conditional slots' , ( ) => {
@@ -492,7 +492,7 @@ describe('Component slot', () => {
492492 }
493493 }
494494 } ) . $mount ( )
495- expect ( 'Duplicate presense of slot "default"' ) . not . toHaveBeenWarned ( )
495+ expect ( 'Duplicate presence of slot "default"' ) . not . toHaveBeenWarned ( )
496496 } )
497497
498498 // #3518
You can’t perform that action at this time.
0 commit comments