Skip to content

Commit

Permalink
chore: Fixed codegen tests for 22.4 release (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremytchang authored Mar 23, 2022
1 parent be98e2f commit 18fa41b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/sdk-codegen/src/sdkModels.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ describe('sdkModels', () => {
const api4 = readFileSync(rootFile('spec/Looker.4.0.oas.json'), 'utf-8')
const api = ApiModel.fromString(api4)
const actual = Object.keys(api.typeTags)
expect(actual).toHaveLength(30)
expect(actual).toHaveLength(29)
})

describe('ordering', () => {
Expand Down
6 changes: 3 additions & 3 deletions packages/sdk-codegen/src/specDiff.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ describe('spec differ', () => {
expect(actual).toHaveLength(1)
expect(actual[0].diffCount).toEqual({
added: 0,
changed: 3,
changed: 9,
removed: 3,
})
})
Expand All @@ -258,8 +258,8 @@ describe('spec differ', () => {
expect(actual).toBeDefined()
expect(actual).toHaveLength(1)
expect(actual[0].diffCount).toEqual({
added: 2,
changed: 5,
added: 4,
changed: 18,
removed: 3,
})
})
Expand Down

0 comments on commit 18fa41b

Please sign in to comment.