We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45fc3eb commit a208a2aCopy full SHA for a208a2a
packages/runtime-core/__tests__/components/Suspense.spec.ts
@@ -1530,7 +1530,7 @@ describe('Suspense', () => {
1530
describe('warnings', () => {
1531
// base function to check if a combination of solts warns or not
1532
function baseCheckWarn(
1533
- sohuldWarn: boolean,
+ shouldWarn: boolean,
1534
children: RawSlots,
1535
props: SuspenseProps | null = null
1536
) {
@@ -1543,7 +1543,7 @@ describe('Suspense', () => {
1543
const root = nodeOps.createElement('div')
1544
render(h(Comp), root)
1545
1546
- if (sohuldWarn) {
+ if (shouldWarn) {
1547
expect(`<Suspense> slots expect a single root node.`).toHaveBeenWarned()
1548
} else {
1549
expect(
0 commit comments