Signed-off-by: Kyle Leonhard <kyle.leonhard@snowflake.com>
This commit is contained in:
Kyle Leonhard
2022-12-16 11:33:28 -08:00
parent fc51bd8aa0
commit 62870e2385
2 changed files with 4 additions and 12 deletions
@@ -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',