Skip to content

Commit cdf12ac

Browse files
committed
Update dev-dependencies
1 parent 1a23c67 commit cdf12ac

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"strip-ansi": "^7.0.0",
6666
"type-coverage": "^2.0.0",
6767
"typescript": "^5.0.0",
68-
"xo": "^0.56.0"
68+
"xo": "^0.58.0"
6969
},
7070
"scripts": {
7171
"prepack": "npm run build && npm run format",

test.js

+1-9
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,12 @@ const causedCause = new Error('Boom!', {cause: exception})
5656
causedCause.stack = cleanStack(causedCause.stack, 3)
5757

5858
test('reporter', async function () {
59-
const mod = await import('./index.js')
60-
6159
assert.deepEqual(
62-
Object.keys(mod).sort(),
60+
Object.keys(await import('vfile-reporter')).sort(),
6361
['default', 'reporter'],
6462
'should expose the public api'
6563
)
6664

67-
assert.equal(
68-
mod.reporter,
69-
mod.default,
70-
'should expose `reporter` as a named and a default export'
71-
)
72-
7365
assert.equal(reporter([]), '', 'should return empty when not given files')
7466

7567
assert.throws(

0 commit comments

Comments
 (0)