-
-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency eslint-plugin-jest to v27 (#826)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: peaceiris <[email protected]>
- Loading branch information
1 parent
9839780
commit 9b7ce2a
Showing
5 changed files
with
17 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -148,7 +148,7 @@ describe('setRepo()', () => { | |
const date = new Date(); | ||
const unixTime = date.getTime(); | ||
const workDir = await getWorkDirName(`${unixTime}`); | ||
await expect(setRepo(inps, remoteURL, workDir)).rejects.toThrowError( | ||
await expect(setRepo(inps, remoteURL, workDir)).rejects.toThrow( | ||
'destination_dir should be a relative path' | ||
); | ||
}); | ||
|
@@ -241,17 +241,13 @@ describe('setCommitAuthor()', () => { | |
test('throw error user_email is undefined', async () => { | ||
const userName = 'custom-octocat'; | ||
const userEmail = ''; | ||
await expect(setCommitAuthor(userName, userEmail)).rejects.toThrowError( | ||
'user_email is undefined' | ||
); | ||
await expect(setCommitAuthor(userName, userEmail)).rejects.toThrow('user_email is undefined'); | ||
}); | ||
|
||
test('throw error user_name is undefined', async () => { | ||
const userName = ''; | ||
const userEmail = '[email protected]'; | ||
await expect(setCommitAuthor(userName, userEmail)).rejects.toThrowError( | ||
'user_name is undefined' | ||
); | ||
await expect(setCommitAuthor(userName, userEmail)).rejects.toThrow('user_name is undefined'); | ||
}); | ||
}); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters