Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
archseer committed Dec 17, 2024
1 parent c5a0cf6 commit b3f1b8b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/components/Form/ChainConfigurationForm.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ describe('ChainConfigurationForm', () => {
solanaKeys: {
results: [],
},
starknetKeys: {
results: [],
},
})

const chainType = getByRole('button', { name: 'EVM' })
Expand Down Expand Up @@ -350,6 +353,9 @@ test('should be able to select OCR2 Job Type with Key Bundle ID', async () => {
solanaKeys: {
results: [],
},
starknetKeys: {
results: [],
},
},
)

Expand Down Expand Up @@ -418,6 +424,9 @@ function renderChainConfigurationForm(
solanaKeys: {
results: [{ id: 'solana_xxxx' }],
},
starknetKeys: {
results: [{ id: 'starknet_xxxx' }],
},
},
) {
return render(
Expand Down
2 changes: 1 addition & 1 deletion src/screens/Chains/ChainsView.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { buildChains } from 'support/factories/gql/fetchChains'
import { ChainsView, Props as ChainsViewProps } from './ChainsView'
import userEvent from '@testing-library/user-event'

const { getAllByRole, getByRole, queryByText } = screen
const { getAllByRole, getByRole, queryByText, queryAllByText } = screen

function renderComponent(viewProps: ChainsViewProps) {
renderWithRouter(<ChainsView {...viewProps} />)
Expand Down
1 change: 1 addition & 0 deletions src/screens/Job/generateJobDefinition.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ observationSource = """
pluginConfig: {
juelsPerFeeCoinSource: '1000000000',
},
onchainSigningStrategy: {},
transmitterID: '0x01010CaB43e77116c95745D219af1069fE050d7A',
feedID: 'feed-id',
},
Expand Down

0 comments on commit b3f1b8b

Please sign in to comment.