Skip to content

Commit

Permalink
refactor: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Jun 16, 2021
1 parent 48c14ed commit f188323
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/runtime-core/__tests__/components/Suspense.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@ describe('Suspense', () => {
describe('warnings', () => {
// base function to check if a combination of solts warns or not
function baseCheckWarn(
sohuldWarn: boolean,
shouldWarn: boolean,
children: RawSlots,
props: SuspenseProps | null = null
) {
Expand All @@ -1188,7 +1188,7 @@ describe('Suspense', () => {
const root = nodeOps.createElement('div')
render(h(Comp), root)

if (sohuldWarn) {
if (shouldWarn) {
expect(`<Suspense> slots expect a single root node.`).toHaveBeenWarned()
} else {
expect(
Expand Down

0 comments on commit f188323

Please sign in to comment.