Skip to content

Commit

Permalink
test: use better test titles
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico Dainelli committed Sep 6, 2024
1 parent 10bab44 commit 58fe3b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/pino-test.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ describe('once', () => {
await pinoTest.once(stream, expected, is)
})

test('once should own assert function called once', async () => {
test('once should calls own assert function once', async () => {
const stream = pinoTest.sink()
const instance = pino(stream)
const customAssertFunction = mock.fn(is)
Expand Down Expand Up @@ -217,7 +217,7 @@ describe('consecutive', () => {
await pinoTest.consecutive(stream, expected, is)
})

test('consecutive should own assert function called twice', async () => {
test('consecutive should calls the own assert function twice', async () => {
const stream = pinoTest.sink()
const instance = pino(stream)
const customAssertFunction = mock.fn(is)
Expand Down

0 comments on commit 58fe3b6

Please sign in to comment.