Skip to content

Commit 2aab4dd

Browse files
committed
test: require tap as t in cli tests
1 parent 6d42686 commit 2aab4dd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/cli.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ const assert = require('assert')
22
const child = require('child_process')
33
const fs = require('fs')
44
const path = require('path')
5-
const tap = require('tap')
65
const pkg = require('../package.json')
76

87
const cliPath = path.resolve(__dirname, '../lib/cli.js')
98

10-
tap.test('CLI', t => {
9+
const t = require('tap')
10+
11+
t.test('CLI', t => {
1112
t.test('converts JSON5 to JSON from stdin to stdout', t => {
1213
const proc = child.spawn(process.execPath, [cliPath])
1314
let output = ''

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy