Skip to content

Commit d9fd92a

Browse files
committed
chore: try fix windows
1 parent f8e728f commit d9fd92a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/fixtures.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ describe('fixtures', () => {
4343
const rendered = [
4444
md.render(content),
4545
`<style>${CSS}</style>`,
46-
].join('\n')
46+
].join('\n').trim().replace(/\r\n/g, '\n')
4747

48-
expect(rendered.trim())
48+
expect(rendered)
4949
.toMatchFileSnapshot(path.replace('input', 'output').replace('.md', '.html'))
5050
})
5151
})

0 commit comments

Comments
 (0)