js-ceramic
js-ceramic copied to clipboard
fix: increase timeout for build indexing test
The build-indexing test times out when running the tests locally. This pr extends the test timeout which allows it to pass.
Repro
Running
cd js-ceramic
npm install
npm run build
npm run test
Produces
Summary of all failing tests
FAIL src/indexing/__tests__/build-indexing.test.ts (6.255 s)
● build for postgres connection string
thrown: "Exceeded timeout of 5000 ms for a test.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."
50 | })
51 |
> 52 | test('build for postgres connection string', async () => {
| ^
53 | const { databaseURL, kill } = await getDatabase()
54 | const indexingApi = buildIndexing(
55 | {
at test (src/indexing/__tests__/build-indexing.test.ts:52:1)