Changeset View
Changeset View
Standalone View
Standalone View
js_modules/dagit/src/__tests__/App.test.tsx
Show All 14 Lines | const defaultMocks = { | ||||
}), | }), | ||||
RepositoryOrError: () => ({ | RepositoryOrError: () => ({ | ||||
__typename: 'Repository', | __typename: 'Repository', | ||||
}), | }), | ||||
RepositoriesOrError: () => ({ | RepositoriesOrError: () => ({ | ||||
__typename: 'RepositoryConnection', | __typename: 'RepositoryConnection', | ||||
}), | }), | ||||
RepositoryLocation: () => ({ | RepositoryLocation: () => ({ | ||||
environmentPath: () => 'what then', | |||||
id: () => 'my_location', | |||||
name: () => 'my_location', | name: () => 'my_location', | ||||
}), | }), | ||||
RepositoryLocationConnection: () => ({ | RepositoryLocationConnection: () => ({ | ||||
nodes: () => new MockList(2), | nodes: () => new MockList(1), | ||||
}), | }), | ||||
RepositoryLocationsOrError: () => ({ | RepositoryLocationsOrError: () => ({ | ||||
__typename: 'RepositoryLocationConnection', | __typename: 'RepositoryLocationConnection', | ||||
nodes: () => new MockList(2), | nodes: () => new MockList(1), | ||||
}), | |||||
RepositoryLocationLoadFailure: () => ({ | |||||
id: () => 'failed', | |||||
}), | }), | ||||
RepositoryLocationOrLoadFailure: () => ({ | RepositoryLocationOrLoadFailure: () => ({ | ||||
__typename: 'RepositoryLocation', | __typename: 'RepositoryLocation', | ||||
}), | }), | ||||
SolidDefinition: () => ({ | SolidDefinition: () => ({ | ||||
configField: null, | configField: null, | ||||
description: null, | description: null, | ||||
inputDefinitions: () => new MockList(1), | inputDefinitions: () => new MockList(1), | ||||
▲ Show 20 Lines • Show All 111 Lines • Show Last 20 Lines |