chore: Update jest and TypeScript dependencies

This commit is contained in:
Joachim Van Herwegen
2023-04-26 13:50:40 +02:00
parent b250beaec9
commit d6b438cd7b
6 changed files with 1615 additions and 2248 deletions

View File

@@ -7,7 +7,8 @@ import {
instantiateFromConfig,
} from './Config';
jest.useFakeTimers('legacy');
// These `doNotFake` settings are necessary to make sure the server still works
jest.useFakeTimers({ doNotFake: [ 'nextTick' ]});
const port = getPort('ExpiringDataCleanup');
const baseUrl = `http://localhost:${port}/`;