Signed-off-by: Andrew Johnson <ajohnson@gocardless.com>
This commit is contained in:
Andrew Johnson
2021-04-06 14:29:59 +01:00
parent 60d0a1a2ed
commit ca793d99be
@@ -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(
<ApiProvider apis={apis}>
<GithubDeploymentsCard />