File: diags.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 (6 lines) | stat: -rw-r--r-- 170 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
'use strict'
const t = require('../')
const diags = require('../lib/diags.js')

t.match(diags({ todo: true }), '')
t.match(diags({ foo: 1 }), '  ---\n  foo: 1\n  ...\n')