mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-14 08:08:24 +02:00
14 lines
366 B
JavaScript
14 lines
366 B
JavaScript
global.process = { __proto__: process, pid: 123456 }
|
|
Date.now = function () { return 1459875739796 }
|
|
require('os').hostname = function () { return 'abcdefghijklmnopqr' }
|
|
const pino = require(require.resolve('./../../../'))
|
|
const log = pino({
|
|
prettyPrint: true,
|
|
prettifier: function () {
|
|
return function () {
|
|
return undefined
|
|
}
|
|
}
|
|
})
|
|
log.info('h')
|