We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7923ad commit 7a5182bCopy full SHA for 7a5182b
test/integration.test.js
@@ -489,13 +489,10 @@ describe('lint-staged', () => {
489
490
// Nothing is wrong, so a new commit is created and file is pretty
491
expect(await execGit(['rev-list', '--count', 'HEAD'])).toEqual('4')
492
- expect(await execGit(['log', '-1', '--pretty=%B'])).toMatchInlineSnapshot(`
493
- "Merge branch 'branch-b' into master
494
-
495
- # Conflicts:
496
- # test.js
497
- "
498
- `)
+ const log = await execGit(['log', '-1', '--pretty=%B'])
+ expect(log).toMatch(`Merge branch 'branch-b`)
+ expect(log).toMatch(`Conflicts:`)
+ expect(log).toMatch(`test.js`)
499
expect(await readFile('test.js')).toEqual(fileInBranchBFixed)
500
})
501
0 commit comments