Skip to content

Commit

Permalink
Remove defaultHandlers re-export
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 31, 2023
1 parent c3e95e7 commit 482b6ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
* @typedef {import('./lib/index.js').Options} Options
*/

export {defaultHandlers} from 'hast-util-to-mdast'
export {default} from './lib/index.js'
3 changes: 1 addition & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ import rehypeRemark from './index.js'
test('rehypeRemark', async function (t) {
await t.test('should expose the public api', async function () {
assert.deepEqual(Object.keys(await import('./index.js')).sort(), [
'default',
'defaultHandlers'
'default'
])
})

Expand Down

0 comments on commit 482b6ef

Please sign in to comment.