Skip to content

Commit e9e71a4

Browse files
authored
test: test clone repository (#83)
1 parent 77a5ea7 commit e9e71a4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/repository.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,12 @@ describe('Repository', () => {
5757
expect(repo.state()).toBe('Clean');
5858
});
5959

60-
it('clone from remote with credential', { skip: !isCI }, async () => {
60+
// If an action is executed by another contributor, it will not be authenticate properly.
61+
// So turn off the test.
62+
it('clone from remote with credential', { skip: true }, async () => {
6163
const p = await makeTmpDir('clone');
6264
const repo = await cloneRepository('https://github.com/seokju-na/dummy-repo-private', p, {
6365
fetch: {
64-
followRedirects: 'All',
6566
credential: {
6667
type: 'Plain',
6768
password: process.env.TEST_GITHUB_TOKEN!,

0 commit comments

Comments
 (0)