Skip to content

Commit

Permalink
refactor: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Jun 22, 2021
1 parent 6285b81 commit 81dc090
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 @@ -1239,7 +1239,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 @@ -1252,7 +1252,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 81dc090

Please sign in to comment.