From ed587e3220abf22799cafb8e7c9a4d7ff5384419 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Tue, 22 Jun 2021 17:26:31 +0200 Subject: [PATCH] chore: typos --- .../runtime-core/__tests__/components/Suspense.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/runtime-core/__tests__/components/Suspense.spec.ts b/packages/runtime-core/__tests__/components/Suspense.spec.ts index b2849570b8c..d822a992816 100644 --- a/packages/runtime-core/__tests__/components/Suspense.spec.ts +++ b/packages/runtime-core/__tests__/components/Suspense.spec.ts @@ -22,7 +22,7 @@ import { Fragment } from '@vue/runtime-test' import { createApp, defineComponent } from 'vue' -import { RawSlots } from 'packages/runtime-core/src/componentSlots' +import { type RawSlots } from 'packages/runtime-core/src/componentSlots' describe('Suspense', () => { const deps: Promise[] = [] @@ -1528,7 +1528,7 @@ describe('Suspense', () => { }) describe('warnings', () => { - // base function to check if a combination of solts warns or not + // base function to check if a combination of slots warns or not function baseCheckWarn( shouldWarn: boolean, children: RawSlots, @@ -1572,8 +1572,8 @@ describe('Suspense', () => { test('does not warn on ', async () => { checkNoWarn({ - default: () => [resolveDynamicComponent(null)] - // fallback: () => null + default: () => [resolveDynamicComponent(null)], + fallback: () => null }) })