Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jul 12, 2023
1 parent 1a7cca6 commit 9fc67d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"@types/node": "^20.0.0",
"c8": "^8.0.0",
"is-hidden": "^2.0.0",
"mdast-util-from-markdown": "^1.0.0",
"mdast-util-to-markdown": "^1.0.0",
"mdast-util-from-markdown": "^2.0.0",
"mdast-util-to-markdown": "^2.0.0",
"prettier": "^2.0.0",
"remark-cli": "^11.0.0",
"remark-preset-wooorm": "^9.0.0",
Expand Down
6 changes: 2 additions & 4 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,12 @@ test('zone', async function (t) {
/** @type {{default: (tree: Root) => undefined}} */
const mod = await import(new URL(folder + '/index.js', root).href)
const check = mod.default
// To do: remove cast when `from-markdown` is released.
const tree = /** @type {Root} */ (
fromMarkdown(await fs.readFile(new URL(folder + '/input.md', root)))
const tree = fromMarkdown(
await fs.readFile(new URL(folder + '/input.md', root))
)

check(tree)

// @ts-expect-error: remove cast when `to-markdown` is released.
const result = toMarkdown(tree)

assert.equal(result, expected)
Expand Down

0 comments on commit 9fc67d8

Please sign in to comment.