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 <30958501+peaceiris@users.noreply.github.com>
This commit is contained in:
renovate[bot]andpeaceiris authored and GitHub committed 2023-01-17 22:40:50 +09:00
1 parent 983978086a
commit 9b7ce2a171
5 files changed
+17 -21

No files matched your search

+3 -3
View File
@@ -70,13 +70,13 @@ describe('setGithubToken()', () => {
'refs/heads/gh-pages-base',
'push'
);
}).toThrowError('You deploy from gh-pages-base to gh-pages-base');
}).toThrow('You deploy from gh-pages-base to gh-pages-base');
});
test('throw error master to master', () => {
expect(() => {
setGithubToken('GITHUB_TOKEN', 'owner/repo', 'master', '', 'refs/heads/master', 'push');
}).toThrowError('You deploy from master to master');
}).toThrow('You deploy from master to master');
});
test('throw error external repository with GITHUB_TOKEN', () => {
@@ -89,7 +89,7 @@ describe('setGithubToken()', () => {
'refs/heads/master',
'push'
);
}).toThrowError(`\
}).toThrow(`\
The generated GITHUB_TOKEN (github_token) does not support to push to an external repository.
Use deploy_key or personal_token.
`);