From ca793d99bedaf8cf8c42f187a0f4d0daf3dc3c89 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Tue, 6 Apr 2021 14:29:59 +0100 Subject: [PATCH] fix test Signed-off-by: Andrew Johnson --- .../src/components/GithubDeploymentsCard.test.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/github-deployments/src/components/GithubDeploymentsCard.test.tsx b/plugins/github-deployments/src/components/GithubDeploymentsCard.test.tsx index 0eca749788..a1c2230d0d 100644 --- a/plugins/github-deployments/src/components/GithubDeploymentsCard.test.tsx +++ b/plugins/github-deployments/src/components/GithubDeploymentsCard.test.tsx @@ -132,6 +132,12 @@ describe('github-deployments', () => { }); it('should shows new data on reload', async () => { + worker.use( + graphql.query('deployments', (_, res, ctx) => + res(ctx.data(responseStub)), + ), + ); + const rendered = await renderInTestApp(