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 6285b81 commit 81dc090Copy full SHA for 81dc090
packages/runtime-core/__tests__/components/Suspense.spec.ts
@@ -1239,7 +1239,7 @@ describe('Suspense', () => {
1239
describe('warnings', () => {
1240
// base function to check if a combination of solts warns or not
1241
function baseCheckWarn(
1242
- sohuldWarn: boolean,
+ shouldWarn: boolean,
1243
children: RawSlots,
1244
props: SuspenseProps | null = null
1245
) {
@@ -1252,7 +1252,7 @@ describe('Suspense', () => {
1252
const root = nodeOps.createElement('div')
1253
render(h(Comp), root)
1254
1255
- if (sohuldWarn) {
+ if (shouldWarn) {
1256
expect(`<Suspense> slots expect a single root node.`).toHaveBeenWarned()
1257
} else {
1258
expect(
0 commit comments