Skip to content

Commit

Permalink
test: fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jan 31, 2024
1 parent f8d1202 commit 033ffe9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/helper/tests/node/text.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('getPageText', async () => {
expect(text).toMatchSnapshot(path)

if (path === '/markdown.html') {
expect(text).not.toContain('console.log(foo(5));')
expect(text).not.toContain('console.log(foo(5))')
expect(text).not.toContain('table text')
}
})
Expand All @@ -51,7 +51,7 @@ describe('getPageText', async () => {
if (path === '/markdown.html') {
expect(text).toContain('Create a list')
expect(text).toContain('Integer molestie lorem at massa')
expect(text).toContain('console.log(foo(5));')
expect(text).toContain('console.log(foo(5))')
expect(text).toContain('table text')
}
})
Expand All @@ -64,7 +64,7 @@ describe('getPageText', async () => {
if (path === '/markdown.html') {
expect(text).not.toContain('Create a list')
expect(text).not.toContain('Integer molestie lorem at massa')
expect(text).not.toContain('console.log(foo(5));')
expect(text).not.toContain('console.log(foo(5))')
expect(text).not.toContain('table text')
}
},
Expand Down

0 comments on commit 033ffe9

Please sign in to comment.