Skip to content

Commit

Permalink
chore: test @nuxtjs/mdc-edge
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Dec 12, 2024
1 parent 43a45fe commit 7a6056a
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 62 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"dependencies": {
"@nuxt/kit": "^3.14.1592",
"@nuxtjs/mdc": "0.11.1",
"@nuxtjs/mdc": "npm:@nuxtjs/mdc-edge@0.11.2-28900083.b7dc03e",
"@sqlite.org/sqlite-wasm": "3.47.1-build1",
"better-sqlite3": "^11.7.0",
"c12": "^2.0.1",
Expand Down
97 changes: 37 additions & 60 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/unit/parseContent.md.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ describe('Parser (.md)', () => {
const props = parsed.body.children[0].props
expect(props).toHaveProperty('meta')
expect(props.meta).toBe('other code block info')
expect(props.language).toBe(undefined)
expect(props.language).toBe('text')
expect(props.filename).toBe(undefined)
expect(props.highlights).toEqual([4, 5, 6, 7])
})
Expand Down

0 comments on commit 7a6056a

Please sign in to comment.