Skip to content

Commit

Permalink
test: require tap as t in cli tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbtucker committed Aug 12, 2022
1 parent 6d42686 commit 2aab4dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/cli.js
Expand Up @@ -2,12 +2,13 @@ const assert = require('assert')
const child = require('child_process')
const fs = require('fs')
const path = require('path')
const tap = require('tap')
const pkg = require('../package.json')

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

tap.test('CLI', t => {
const t = require('tap')

t.test('CLI', t => {
t.test('converts JSON5 to JSON from stdin to stdout', t => {
const proc = child.spawn(process.execPath, [cliPath])
let output = ''
Expand Down

0 comments on commit 2aab4dd

Please sign in to comment.