Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Dec 17, 2020
1 parent 846ee66 commit dafdf6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/vue-loader/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ describe('@mdx-js/vue-loader', () => {
remarkPlugins: [require('remark-slug')]
})

expect(mount(run(file.source)).html()).toEqual('<h1>Hello, world!</h1>')
expect(mount(run(file.source)).html()).toEqual(
'<h1 id="hello-world">Hello, world!</h1>'
)
})
})

0 comments on commit dafdf6d

Please sign in to comment.