Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jan 5, 2024
1 parent e7be788 commit 27f544f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion bin/test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { assert } from '@japa/assert'
import { snapshot } from '@japa/snapshot'
import { expectTypeOf } from '@japa/expect-type'
import { processCLIArgs, configure, run } from '@japa/runner'

Expand All @@ -18,7 +19,7 @@ import { processCLIArgs, configure, run } from '@japa/runner'
processCLIArgs(process.argv.slice(2))
configure({
files: ['tests/**/*.spec.ts'],
plugins: [assert(), expectTypeOf()],
plugins: [assert(), expectTypeOf(), snapshot()],
})

/*
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"@japa/assert": "^2.1.0",
"@japa/expect-type": "^2.0.1",
"@japa/runner": "^3.1.1",
"@japa/snapshot": "^2.0.4",
"@swc/core": "^1.3.102",
"@types/node": "^20.10.6",
"c8": "^9.0.0",
Expand Down
6 changes: 4 additions & 2 deletions tests/logger.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,10 @@ test.group('Logger', () => {
assert.deepEqual(logger.child({}), logger)
assert.deepEqual(logger.bindings(), {})
assert.isFalse(logger.isLevelEnabled('info'))
assert.equal(logger.pinoVersion, '8.17.1')
assert.equal(logger.version, '8.17.1')

assert.snapshot(logger.pinoVersion).matchInline('"8.17.2"')
assert.snapshot(logger.version).matchInline('"8.17.2"')

assert.deepEqual(logger.levels, {
labels: {
10: 'trace',
Expand Down

0 comments on commit 27f544f

Please sign in to comment.