test(read-project-manifest): fix

This commit is contained in:
Zoltan Kochan
2021-01-21 02:32:15 +02:00
parent a8a75ea2cd
commit e1facddd5d

View File

@@ -150,7 +150,7 @@ test('fail on invalid YAML', async () => {
expect(err).toBeTruthy()
expect(err['code']).toBe('ERR_PNPM_YAML_PARSE')
expect(err.message).toMatch(/^missed comma between flow collection entries \(3:3\)/)
expect(err.message).toMatch(/^missed comma between flow collection entries at line 3, column 3:/)
})
test('preserve trailing new line at the end of package.json', async () => {