+2
-6
@@ -162,9 +162,7 @@ describe('github:repo:create', () => {
|
||||
hasIssues: true,
|
||||
},
|
||||
});
|
||||
expect(
|
||||
mockOctokit.rest.repos.createInOrg,
|
||||
).toHaveBeenCalledWith({
|
||||
expect(mockOctokit.rest.repos.createInOrg).toHaveBeenCalledWith({
|
||||
description: 'description',
|
||||
name: 'repo',
|
||||
org: 'owner',
|
||||
@@ -189,9 +187,7 @@ describe('github:repo:create', () => {
|
||||
hasIssues: false,
|
||||
},
|
||||
});
|
||||
expect(
|
||||
mockOctokit.rest.repos.createInOrg,
|
||||
).toHaveBeenCalledWith({
|
||||
expect(mockOctokit.rest.repos.createInOrg).toHaveBeenCalledWith({
|
||||
description: 'description',
|
||||
name: 'repo',
|
||||
org: 'owner',
|
||||
|
||||
@@ -167,9 +167,7 @@ describe('publish:github', () => {
|
||||
hasIssues: true,
|
||||
},
|
||||
});
|
||||
expect(
|
||||
mockOctokit.rest.repos.createInOrg,
|
||||
).toHaveBeenCalledWith({
|
||||
expect(mockOctokit.rest.repos.createInOrg).toHaveBeenCalledWith({
|
||||
description: 'description',
|
||||
name: 'repo',
|
||||
org: 'owner',
|
||||
@@ -194,9 +192,7 @@ describe('publish:github', () => {
|
||||
hasIssues: false,
|
||||
},
|
||||
});
|
||||
expect(
|
||||
mockOctokit.rest.repos.createInOrg,
|
||||
).toHaveBeenCalledWith({
|
||||
expect(mockOctokit.rest.repos.createInOrg).toHaveBeenCalledWith({
|
||||
description: 'description',
|
||||
name: 'repo',
|
||||
org: 'owner',
|
||||
|
||||
Reference in New Issue
Block a user