Skip to content

Commit a208a2a

Browse files
committed
refactor: typo
1 parent 45fc3eb commit a208a2a

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
@@ -1530,7 +1530,7 @@ describe('Suspense', () => {
15301530
describe('warnings', () => {
15311531
// base function to check if a combination of solts warns or not
15321532
function baseCheckWarn(
1533-
sohuldWarn: boolean,
1533+
shouldWarn: boolean,
15341534
children: RawSlots,
15351535
props: SuspenseProps | null = null
15361536
) {
@@ -1543,7 +1543,7 @@ describe('Suspense', () => {
15431543
const root = nodeOps.createElement('div')
15441544
render(h(Comp), root)
15451545

1546-
if (sohuldWarn) {
1546+
if (shouldWarn) {
15471547
expect(`<Suspense> slots expect a single root node.`).toHaveBeenWarned()
15481548
} else {
15491549
expect(

0 commit comments

Comments
 (0)