Skip to content

Commit

Permalink
test: update assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
iiroj committed May 10, 2024
1 parent d4559cd commit 9b26457
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion test/unit/execGit.spec.js
Expand Up @@ -31,7 +31,6 @@ describe('execGit', () => {
await execGit(['init', 'param'], { cwd })
expect(exec).toHaveBeenCalledWith('git', [...GIT_GLOBAL_OPTIONS, 'init', 'param'], {
cwd,
stdin: 'ignore',
})
})
})
2 changes: 1 addition & 1 deletion test/unit/resolveTaskFn.unmocked.spec.js
Expand Up @@ -32,7 +32,7 @@ describe('resolveTaskFn', () => {
`"node -e "process.exit(1)" [FAILED]"`
)
await expect(taskPromise).rejects.toThrowErrorMatchingInlineSnapshot(
`"node -e "setTimeout(() => void 0, 10000)" [KILLED]"`
`"node -e "setTimeout(() => void 0, 10000)" [SIGTERM]"`
)
})
})

0 comments on commit 9b26457

Please sign in to comment.