We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41e4369 commit 64013d2Copy full SHA for 64013d2
frontend/src/__tests__/ListClusters.test.ts
@@ -23,9 +23,8 @@ const mockCluster2: ClusterInfoSummary = {
23
const mockGet = jest.fn()
24
25
jest.mock('axios', () => ({
26
- create: () => ({
27
- get: (...args: unknown[]) => mockGet(...args),
28
- }),
+ get: (...args: unknown[]) => mockGet(...args),
+ create: (...args: unknown[]) => jest.fn(),
29
}))
30
31
describe('given a ListClusters command', () => {
0 commit comments