Skip to content

Commit

Permalink
Fix node v12 test
Browse files Browse the repository at this point in the history
  • Loading branch information
75lb committed Aug 23, 2024
1 parent 3d20483 commit 9939cf9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
import Cli from '../lib/cli.js'

const cli = new Cli()
await cli.start(process.argv.slice(2))
cli.start(process.argv.slice(2))
3 changes: 2 additions & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import TestRunner from 'test-runner'
import Test from '../lib/test.js'
import { strict as a } from 'assert'

{ /* Sync tess passes, storing the result */
async function one () { /* Sync tess passes, storing the result */
const actuals = []
const test1 = new Test('one', function one () {
actuals.push('one')
Expand All @@ -13,3 +13,4 @@ import { strict as a } from 'assert'
a.equal(test1.result, 'one')
a.deepEqual(actuals, ['one'])
}
one()

0 comments on commit 9939cf9

Please sign in to comment.