Skip to content

Commit

Permalink
test: fix last expect.stringMatching
Browse files Browse the repository at this point in the history
  • Loading branch information
wd-David committed Jun 18, 2022
1 parent 674fbb7 commit ab93534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@ describe('Test esbuildPluginPino', () => {
const { stdout } = await execa(process.argv[0], [
resolve(distFolder, thirdFile as string)
])
expect(stdout).toEqual(expect.stringMatching(/ERROR: This is third!/))
expect(stdout).toEqual(expect.stringMatching(/This is third/))
})
})

0 comments on commit ab93534

Please sign in to comment.