Skip to content

Commit f188323

Browse files
committed
refactor: typo
1 parent 48c14ed commit f188323

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/runtime-core/__tests__/components/Suspense.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,7 @@ describe('Suspense', () => {
11751175
describe('warnings', () => {
11761176
// base function to check if a combination of solts warns or not
11771177
function baseCheckWarn(
1178-
sohuldWarn: boolean,
1178+
shouldWarn: boolean,
11791179
children: RawSlots,
11801180
props: SuspenseProps | null = null
11811181
) {
@@ -1188,7 +1188,7 @@ describe('Suspense', () => {
11881188
const root = nodeOps.createElement('div')
11891189
render(h(Comp), root)
11901190

1191-
if (sohuldWarn) {
1191+
if (shouldWarn) {
11921192
expect(`<Suspense> slots expect a single root node.`).toHaveBeenWarned()
11931193
} else {
11941194
expect(

0 commit comments

Comments
 (0)