Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jul 15, 2021
1 parent f60403c commit 99624f1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
node:
- lts/dubnium
- lts/erbium
- node
windows:
name: ${{matrix.node}}
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @typedef {import('unified-engine').Options} EngineOptions
* @typedef {import('unified-engine/lib/index.js').Context} EngineContext
* @typedef {import('unified-engine').Context} EngineContext
* @typedef {import('unified-engine').Callback} EngineCallback
* @typedef {import('./options.js').Options} Options
*/
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"bail": "^2.0.0",
"c8": "^7.0.0",
"execa": "^5.0.0",
"figures": "^4.0.0",
"prettier": "^2.0.0",
"remark": "^13.0.0",
"remark-cli": "^9.0.0",
Expand Down
7 changes: 4 additions & 3 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ import execa from 'execa'
import {bail} from 'bail'
import test from 'tape'
import strip from 'strip-ansi'
import figures from 'figures'
import touch from 'touch'

const cross = process.platform === 'win32' ? '×' : '✖'

const fixtures = path.join('test', 'fixtures')
const cwd = path.join(fixtures, 'example')
const bin = path.join(cwd, 'cli.js')
Expand All @@ -19,7 +20,7 @@ test('unified-args', (t) => {
'missing.txt',
' 1:1 error No such file or directory',
'',
figures.cross + ' 1 error'
cross + ' 1 error'
].join('\n')

t.plan(1)
Expand Down Expand Up @@ -595,7 +596,7 @@ test('unified-args', (t) => {
'',
'two.txt: no issues found',
'',
figures.cross + ' 1 error'
cross + ' 1 error'
].join('\n')

t.plan(1)
Expand Down

0 comments on commit 99624f1

Please sign in to comment.