mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-23 09:31:52 -04:00
test(read-project-manifest): fix
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user