diff --git a/test/integration/start.spec.ts b/test/integration/start.spec.ts index 2a29afe..1006030 100644 --- a/test/integration/start.spec.ts +++ b/test/integration/start.spec.ts @@ -182,10 +182,9 @@ describe('start command', () => { await run(['start', '--fresh', '--detach']) console.log('(test) Trying to fetch the data') - // TODO check response status // locally 'timeout of 1000ms exceeded' // ci 'Request failed with status code 404' - expect(async () => await bee.downloadData(reference, { timeout: 1000 })).toThrow() + expect(bee.downloadData(reference, { timeout: 1000 })).rejects.toBeTruthy() }), ) })