Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Update SpruceConfig mock to contain container pools
Browse files Browse the repository at this point in the history
  • Loading branch information
minnakt committed Sep 18, 2023
1 parent f2ab0cc commit e3ee2db
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/gql/mocks/getSpruceConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ export const getSpruceConfigMock: ApolloMock<
defaultProject: "evergreen",
__typename: "UIConfig",
},
containerPools: {
pools: [
{
distro: "localhost",
id: "test-pool",
maxContainers: 5,
port: 1234,
},
],
},
keys: [
{
name: "fake_key",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ describe("provider tab", () => {
const staticGql: DistroInput = {
...distroData,
provider: Provider.Static,
containerPool: "",
providerSettingsList: [
{
merge_user_data_parts: false,
Expand Down

0 comments on commit e3ee2db

Please sign in to comment.