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 48c14ed commit f188323Copy full SHA for f188323
packages/runtime-core/__tests__/components/Suspense.spec.ts
@@ -1175,7 +1175,7 @@ describe('Suspense', () => {
1175
describe('warnings', () => {
1176
// base function to check if a combination of solts warns or not
1177
function baseCheckWarn(
1178
- sohuldWarn: boolean,
+ shouldWarn: boolean,
1179
children: RawSlots,
1180
props: SuspenseProps | null = null
1181
) {
@@ -1188,7 +1188,7 @@ describe('Suspense', () => {
1188
const root = nodeOps.createElement('div')
1189
render(h(Comp), root)
1190
1191
- if (sohuldWarn) {
+ if (shouldWarn) {
1192
expect(`<Suspense> slots expect a single root node.`).toHaveBeenWarned()
1193
} else {
1194
expect(
0 commit comments