We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d42686 commit 2aab4ddCopy full SHA for 2aab4dd
test/cli.js
@@ -2,12 +2,13 @@ const assert = require('assert')
2
const child = require('child_process')
3
const fs = require('fs')
4
const path = require('path')
5
-const tap = require('tap')
6
const pkg = require('../package.json')
7
8
const cliPath = path.resolve(__dirname, '../lib/cli.js')
9
10
-tap.test('CLI', t => {
+const t = require('tap')
+
11
+t.test('CLI', t => {
12
t.test('converts JSON5 to JSON from stdin to stdout', t => {
13
const proc = child.spawn(process.execPath, [cliPath])
14
let output = ''
0 commit comments