(email: string)
| 9 | |
| 10 | // eslint-disable-next-line jsdoc/require-jsdoc |
| 11 | export const newUser = (email: string) => ({ |
| 12 | about: '', |
| 13 | acceptedPrivacyTerms: false, |
| 14 | completedChallenges: [], |
| 15 | completedDailyCodingChallenges: [], |
| 16 | completedExams: [], |
| 17 | quizAttempts: [], |
| 18 | currentChallengeId: '', |
| 19 | donationEmails: [], |
| 20 | email, |
| 21 | emailAuthLinkTTL: null, |
| 22 | emailVerified: true, |
| 23 | emailVerifyTTL: null, |
| 24 | experience: [], |
| 25 | // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment |
| 26 | externalId: expect.stringMatching(uuidRe), |
| 27 | githubProfile: null, |
| 28 | // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment |
| 29 | id: expect.stringMatching(mongodbIdRe), |
| 30 | is2018DataVisCert: false, |
| 31 | is2018FullStackCert: false, |
| 32 | isA2EnglishCert: false, |
| 33 | isApisMicroservicesCert: false, |
| 34 | isBackEndCert: false, |
| 35 | isBanned: false, |
| 36 | isCheater: false, |
| 37 | isClassroomAccount: null, |
| 38 | isDataAnalysisPyCertV7: false, |
| 39 | isDataVisCert: false, |
| 40 | isDonating: false, |
| 41 | isFoundationalCSharpCertV8: false, |
| 42 | isFrontEndCert: false, |
| 43 | isFrontEndLibsCert: false, |
| 44 | isFullStackCert: false, |
| 45 | isHonest: false, |
| 46 | isInfosecCertV7: false, |
| 47 | isInfosecQaCert: false, |
| 48 | isJavascriptCertV9: false, |
| 49 | isJsAlgoDataStructCert: false, |
| 50 | isJsAlgoDataStructCertV8: false, |
| 51 | isMachineLearningPyCertV7: false, |
| 52 | isPythonCertV9: false, |
| 53 | isQaCertV7: false, |
| 54 | isRelationalDatabaseCertV8: false, |
| 55 | isRelationalDatabaseCertV9: false, |
| 56 | isCollegeAlgebraPyCertV8: false, |
| 57 | isRespWebDesignCert: false, |
| 58 | isRespWebDesignCertV9: false, |
| 59 | isSciCompPyCertV7: false, |
| 60 | isFrontEndLibsCertV9: false, |
| 61 | isBackEndDevApisCertV9: false, |
| 62 | isFullStackDeveloperCertV9: false, |
| 63 | isB1EnglishCert: false, |
| 64 | isA2SpanishCert: false, |
| 65 | isA2ChineseCert: false, |
| 66 | isA1ChineseCert: false, |
| 67 | keyboardShortcuts: false, |
| 68 | linkedin: null, |
no outgoing calls
no test coverage detected