diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2019-05-10 11:03:25 -0500 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2019-05-10 12:52:19 -0500 |
commit | 0b27841fd61e97388c6b645d5812e8a06be567a3 (patch) | |
tree | f07d436c3ed8cd1b26bb87176d10db7e58b2ba58 /jest.config.js | |
parent | 9dc41a0993a38f99eeda9c2e8bb3ace070003496 (diff) | |
download | gitlab-ce-0b27841fd61e97388c6b645d5812e8a06be567a3.tar.gz |
Eager load the GraphQL schema in specs
Avoid counting on Rails eager loading the GraphQL types, but preload
them before the specs.
This would avoid loading the schema in 2 separate threads
concurrently (1 inside the specs, 1 inside the test-server that will
receive requests). Loading the schema in parallel like that could
cause duplicate definition errors.
Diffstat (limited to 'jest.config.js')
0 files changed, 0 insertions, 0 deletions