Skip to content

Commit

Permalink
fix: remove deprecated object attribute reference in APIX tests (#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahamac authored Apr 22, 2021
1 parent 9ba9820 commit 581b351
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { DocSDKs } from './DocSDKs'

describe('DocSDKs', () => {
let store: Store<RootState>
const supportedLanguages = codeGenerators.map((g) => g.label || g.language)
const supportedLanguages = codeGenerators.map((g) => g.language)
const pattern = new RegExp(`${supportedLanguages.join('|')}`)

beforeAll(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { api } from '../../test-data'
import { DocSdkCalls } from './DocSdkCalls'

describe('DocSdkCalls', () => {
const supportedLanguages = codeGenerators.map((g) => g.label || g.language)
const supportedLanguages = codeGenerators.map((g) => g.language)
const pattern = new RegExp(`${supportedLanguages.join('|')}`)

test('it can render SDK call syntax for all supported languages', () => {
Expand Down

0 comments on commit 581b351

Please sign in to comment.