Skip to content

Commit 81dc090

Browse files
committed
refactor: typo
1 parent 6285b81 commit 81dc090

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
@@ -1239,7 +1239,7 @@ describe('Suspense', () => {
12391239
describe('warnings', () => {
12401240
// base function to check if a combination of solts warns or not
12411241
function baseCheckWarn(
1242-
sohuldWarn: boolean,
1242+
shouldWarn: boolean,
12431243
children: RawSlots,
12441244
props: SuspenseProps | null = null
12451245
) {
@@ -1252,7 +1252,7 @@ describe('Suspense', () => {
12521252
const root = nodeOps.createElement('div')
12531253
render(h(Comp), root)
12541254

1255-
if (sohuldWarn) {
1255+
if (shouldWarn) {
12561256
expect(`<Suspense> slots expect a single root node.`).toHaveBeenWarned()
12571257
} else {
12581258
expect(

0 commit comments

Comments
 (0)