Skip to content

Commit

Permalink
test: fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CalicoNino committed Oct 23, 2024
1 parent 9af25cc commit d8d338f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
10 changes: 2 additions & 8 deletions src/gql/heart-monitor/heart-monitor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,7 @@ const testFeatureFlags = async (fields: GQLFeatureFlags) => {
if (resp.featureFlags) {
const { featureFlags } = resp

checkFields(
[featureFlags],
["gov", "oracle", "perp", "spot", "staking", "wasm"]
)
checkFields([featureFlags], ["gov", "oracle", "staking", "wasm"])
}
}

Expand Down Expand Up @@ -398,10 +395,7 @@ test("queryBatchHandler", async () => {
if (resp.featureFlags) {
const { featureFlags } = resp

checkFields(
[featureFlags],
["gov", "oracle", "perp", "spot", "staking", "wasm"]
)
checkFields([featureFlags], ["gov", "oracle", "staking", "wasm"])
}
})

Expand Down
5 changes: 1 addition & 4 deletions src/gql/utils/consts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@ describe("queryBatchHandler tests", () => {
if (resp.featureFlags) {
const { featureFlags } = resp

checkFields(
[featureFlags],
["gov", "oracle", "perp", "spot", "staking", "wasm"]
)
checkFields([featureFlags], ["gov", "oracle", "staking", "wasm"])
}
})

Expand Down

0 comments on commit d8d338f

Please sign in to comment.