Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Mar 14, 2023
1 parent 3aea389 commit dc88efe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions __tests__/e2e/home.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ describe('render correct content', async () => {
pLocator.allTextContents()
])

expect(h1Contents).toEqual(['Lorem Ipsum #'])
expect(h2Contents).toEqual([
'What is Lorem Ipsum? #',
'Where does it come from? #',
'Why do we use it? #',
'Where can I get some? #'
expect(h1Contents).toEqual(['Lorem Ipsum \u200b'])
expect(h2Contents.map((s) => s.trim())).toEqual([
'What is Lorem Ipsum? \u200b',
'Where does it come from? \u200b',
'Why do we use it? \u200b',
'Where can I get some? \u200b'
])
expect(pContents).toMatchSnapshot()
})
Expand Down

0 comments on commit dc88efe

Please sign in to comment.