Skip to content

koh110/minimum-nodejs-test

Repository files navigation

minimum-nodejs-test

# success
$ node run.mjs
TAP version 13
# Subtest: 1 + 1 = 2
ok 1 - 1 + 1 = 2
  ---
  duration_ms: 0.525541
  ...
1..1
# tests 1
# suites 0
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 38.866208

$ node --test
 1 + 1 = 2 (0.510542ms)
 tests 1
 suites 0
 pass 1
 fail 0
 cancelled 0
 skipped 0
 todo 0
 duration_ms 45.3915

TAP version 13
# Subtest: 1 + 1 = 2
ok 1 - 1 + 1 = 2
  ---
  duration_ms: 0.546875
  ...
1..1
# tests 1
# suites 0
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 39.425083


# Infinite loop
$ node run-undefined.mjs
$ node run-null-files.mjs
$ node run-inner-file.mjs
$ node -e "require('node:test').run({ files: undefined }).compose(require('node:test/reporters').tap).pipe(process.stdout)"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published