Delete Account unit tests: added tests related to Google reauthentication

This commit is contained in:
gianantoniopini
2021-05-20 15:57:01 +02:00
parent 7cb469657d
commit 9e63d0b2c7
18 changed files with 363 additions and 56 deletions

View File

@ -7,13 +7,14 @@ import {
expectDatabaseUpdateToHaveCompleted,
} from './helpers/builder';
const testTimeoutInMilliseconds = 20000;
const testTimeoutInMilliseconds = 30000;
jest.setTimeout(testTimeoutInMilliseconds);
test('when input value is changed, updates database', async () => {
const resumeId = DatabaseConstants.demoStateResume1Id;
const { mockDatabaseUpdateFunction } = await setupAndWait(
resumeId,
false,
true,
true,
);