Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
owner is now an enum
  • Loading branch information
snowiow committed Jan 3, 2024
1 parent 3b99727 commit a92319e
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions test/codebuild.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ describe('getCodeBuildsFromActions', () => {
{
name: 'nothing matches',
actionTypeId: {
category: 'SomeCategory',
category: 'Source',
provider: 'SomeProvider',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
},
Expand All @@ -17,7 +17,7 @@ describe('getCodeBuildsFromActions', () => {
actionTypeId: {
category: 'Build',
provider: 'SomeProvider',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
},
Expand All @@ -26,7 +26,7 @@ describe('getCodeBuildsFromActions', () => {
actionTypeId: {
category: 'Build',
provider: 'CodeBuild',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
configuration: {
Expand All @@ -38,7 +38,7 @@ describe('getCodeBuildsFromActions', () => {
actionTypeId: {
category: 'Build',
provider: 'CodeBuild',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
},
Expand All @@ -57,9 +57,9 @@ describe('getCodeBuildsFromStages', () => {
{
name: 'nothing matches',
actionTypeId: {
category: 'SomeCategory',
category: 'Source',
provider: 'SomeProvider',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
},
Expand All @@ -68,7 +68,7 @@ describe('getCodeBuildsFromStages', () => {
actionTypeId: {
category: 'Build',
provider: 'SomeProvider',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
},
Expand All @@ -77,7 +77,7 @@ describe('getCodeBuildsFromStages', () => {
actionTypeId: {
category: 'Build',
provider: 'CodeBuild',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
configuration: {
Expand All @@ -89,7 +89,7 @@ describe('getCodeBuildsFromStages', () => {
actionTypeId: {
category: 'Build',
provider: 'CodeBuild',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
},
Expand All @@ -103,7 +103,7 @@ describe('getCodeBuildsFromStages', () => {
actionTypeId: {
category: 'Build',
provider: 'CodeBuild',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
configuration: {
Expand All @@ -115,7 +115,7 @@ describe('getCodeBuildsFromStages', () => {
actionTypeId: {
category: 'SomeCategory',
provider: 'SomeProvider',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
},
Expand All @@ -124,7 +124,7 @@ describe('getCodeBuildsFromStages', () => {
actionTypeId: {
category: 'Build',
provider: 'SomeProvider',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
},
Expand All @@ -133,7 +133,7 @@ describe('getCodeBuildsFromStages', () => {
actionTypeId: {
category: 'Build',
provider: 'CodeBuild',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
configuration: {
Expand All @@ -145,7 +145,7 @@ describe('getCodeBuildsFromStages', () => {
actionTypeId: {
category: 'Build',
provider: 'CodeBuild',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
},
Expand Down

0 comments on commit a92319e

Please sign in to comment.