test: fix snapshot tests

This commit is contained in:
mutoe 2021-03-02 00:51:45 +08:00
parent fc0b7fa038
commit 121481a4b8
2 changed files with 380 additions and 2148 deletions

View File

@ -26,7 +26,7 @@ describe('# ArticleDetail', () => {
await flushPromises()
const articleBody = wrapper.find('.article-content')
expect(articleBody).toMatchSnapshot()
expect(articleBody.html()).toMatchSnapshot()
})
it('should render markdown (zh-CN) body correctly', async () => {
@ -37,6 +37,6 @@ describe('# ArticleDetail', () => {
await flushPromises()
const articleBody = wrapper.find('.article-content')
expect(articleBody).toMatchSnapshot()
expect(articleBody.html()).toMatchSnapshot()
})
})

File diff suppressed because it is too large Load Diff