Skip to content

feat: don't show correct answer after a single incorrect guess #7

feat: don't show correct answer after a single incorrect guess

feat: don't show correct answer after a single incorrect guess #7

Triggered via push May 31, 2024 18:02
Status Success
Total duration 35s
Artifacts
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

1 error and 4 warnings
test (18.x): components/quiz/useQuizState.test.ts#L44
Property 'incrementScore' does not exist on type '{ showStartScreen: boolean; showEndScreen: boolean; questionIdx: number; selectedOptionId: number | null; showSolution: boolean; checkAnswer: boolean; currentChapter: { slugs: string[]; id: number; title: string; header: string; questions: { ...; }[]; } | undefined; ... 12 more ...; setnumOfCorrectQuestions: Dispatc...'.
test (18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (18.x): components/quiz/index.tsx#L82
React Hook useCallback has a missing dependency: 'onCheckAnswer'. Either include it or remove the dependency array
test (18.x): components/quiz/useQuizState.tsx#L63
React Hook useEffect has a missing dependency: 'randomizeQuestionOrder'. Either include it or remove the dependency array