File: regression-many-asserts-epipe.js

package info (click to toggle)
node-tap 12.0.1%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,996 kB
  • sloc: javascript: 13,674; sh: 75; makefile: 73
file content (9 lines) | stat: -rw-r--r-- 232 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
'use strict'
// See https://github.com/tapjs/node-tap/issues/422
const t = require('../')
t.test('just a lot of asserts in rapid succession', t => {
  for (let i = 0; i < 5000; i++) {
    t.pass('a number is ' + i)
  }
  t.end()
})