mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
13 lines
370 B
TypeScript
13 lines
370 B
TypeScript
import { test } from 'vitest';
|
|
|
|
test('logging to stdout', () => {
|
|
console.log('log with trace')
|
|
console.info('info with trace')
|
|
console.debug('debug with trace')
|
|
console.dir({ hello: 'from dir with trace' })
|
|
console.warn('warn with trace')
|
|
console.assert(false, 'assert with trace')
|
|
console.error('error with trace')
|
|
console.trace('trace with trace')
|
|
})
|