sync mode on
This commit is contained in:
1 parent
1818932244
commit
1174b328e5
415 files changed
+44294
-1182
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
'use strict'
|
||||
|
||||
const test = require('node:test')
|
||||
const assert = require('node:assert')
|
||||
const fs = require('node:fs')
|
||||
const path = require('node:path')
|
||||
|
||||
const pino = require('../..')()
|
||||
|
||||
test('should be the same as package.json', () => {
|
||||
const json = JSON.parse(
|
||||
fs.readFileSync(path.join(__dirname, '..', '..', 'package.json'))
|
||||
.toString('utf8')
|
||||
)
|
||||
|
||||
assert.equal(pino.version, json.version)
|
||||
})
|
||||
Reference in new issue
Block a user