graphql-engine/server/tests-hspec/Harness
Antoine Leblanc dfe9a046f6 Factor backends' metadata in hspec tests.
## Description

This PR adds a `defaultSourceMetadata` expression to each backend's harness file, and introduces `setSource` and `setSources` to factor out all the calls to `replace_metadata` in the tests.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3425
GitOrigin-RevId: 5eacb156ffa198123262759eb2bbdebe8ab09fd7
2022-01-25 16:35:44 +00:00
..
Backend Factor backends' metadata in hspec tests. 2022-01-25 16:35:44 +00:00
Quoter Add README.md to tests-hspec and reorganize module namespace 2022-01-21 07:49:31 +00:00
Test Add README.md to tests-hspec and reorganize module namespace 2022-01-21 07:49:31 +00:00
Constants.hs Add README.md to tests-hspec and reorganize module namespace 2022-01-21 07:49:31 +00:00
GraphqlEngine.hs Factor backends' metadata in hspec tests. 2022-01-25 16:35:44 +00:00
Http.hs Create integration testing environment (close hasura/graphql-engine#7752) 2021-11-17 19:51:47 +00:00
Spec.hs Auto-launch graphql-engine (close hasura/graphql-engine#7801, hasura/graphql-engine#7827 ) 2021-11-23 18:16:15 +00:00
State.hs Auto-launch graphql-engine (close hasura/graphql-engine#7801, hasura/graphql-engine#7827 ) 2021-11-23 18:16:15 +00:00