diff --git a/web/src/js/__tests__/components/Command/CommandSpec.js b/web/src/js/__tests__/components/Command/CommandSpec.js index 7ff6c413f..fbc75d65e 100644 --- a/web/src/js/__tests__/components/Command/CommandSpec.js +++ b/web/src/js/__tests__/components/Command/CommandSpec.js @@ -4,7 +4,7 @@ import { render } from "../../test-utils" import fetchMock from 'fetch-mock'; test('CommandBar Component', async () => { - fetchMock.get('./commands.json', {status: 200}) + fetchMock.get('./commands.json', {status: 200, body: {"commands": "foo"}}) const {asFragment, store} = render(