D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
etb1lp46s9ed
/
washeet.softurecs.com
/
node_modules
/
pino
/
test
/
esm
/
Filename :
esm.mjs
back
Copy
import t from 'tap' import pino from '../../pino.js' import helper from '../helper.js' const { sink, check, once } = helper t.test('esm support', async ({ equal }) => { const stream = sink() const instance = pino(stream) instance.info('hello world') check(equal, await once(stream, 'data'), 30, 'hello world') })