Skip to content

Commit c060f34

Browse files
committed
Khayla Saunders fixed classname
1 parent 0330050 commit c060f34

File tree

3 files changed

+22
-13
lines changed

3 files changed

+22
-13
lines changed

lesson_03/quiz/quiz.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
quiz:
22
answers:
3-
khayla_quiz:
4-
- $2y$10$/3IMYMFNc9nwhdHmiSvRG.A15LpohUsJiRpHwMBWcprTsIfJtr3gW
5-
- $2y$10$0X79FrvMefVVg7/MwvZruOnHz.Xw.sp5WvF4RxOq/r.VmMllsL6W6
6-
- $2y$10$xNJ6JpfWNYdn8YXQ7YXq5ejJCYIBqFZCHU8hI/LCYIE7drzMDqGOS
3+
anthonymays:
4+
- $2y$10$8eHSzy3aCu4Ry3LzO9nWCeGpofSxsNVbnF.wCfn3ZADwQ6MEtN/KK
5+
- $2y$10$55EXRjF26JIgebtoH800ZOJecfefvMgHicuxf/rwTENuxiUaFQcNe
6+
anotherone:
7+
- $2y$10$8eHSzy3aCu4Ry3LzO9nWCeGpofSxsNVbnF.wCfn3ZADwQ6MEtN/KK
8+
- $2y$10$dGB0CGv7.XQC5OqfyY6iXOiJsdVyxU3ve5YE0gt4m2I8P8H13lNXa
9+
KhaylaSaundersQuiz:
10+
- $2y$10$GLR8QrgP55Rjj5Ljf/JgQuyemzq2HzMysMbk6W.m0OkBSJbVHBdxC
11+
- $2y$10$PnjXjW6fUxWSQyFZzy8gDunAxwzHjSHbILe3QW5TRimFeXIqs6tym
12+
- $2y$10$JbCDPrCLcwYFlOzPdXsQS.l4DYQgjaW3AeGqs4PDYRUbMDszhK.Gq

lesson_03/quiz/src/quizzes/khayla_quiz.ts/khayla_quiz.ts renamed to lesson_03/quiz/src/quizzes/khayla_quiz.ts

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,22 @@ import {
55
QuizQuestionProvider,
66
} from 'codedifferently-instructional';
77

8-
export class khayla_quiz implements QuizQuestionProvider {
8+
export class KhaylaSaundersQuiz implements QuizQuestionProvider {
99
getProviderName(): string {
10-
return 'khayla_quiz';
10+
return 'khaylasaunders';
1111
}
1212

1313
makeQuizQuestions(): QuizQuestion[] {
14-
return [khayla_saundersquiz.makeQuestion0(), khayla_quiz.makeQuestion1()];
14+
return [
15+
KhaylaSaundersQuiz.makeQuestion0(),
16+
KhaylaSaundersQuiz.makeQuestion1(),
17+
];
1518
}
1619

1720
private static makeQuestion0(): QuizQuestion {
1821
return new MultipleChoiceQuizQuestion(
1922
0,
20-
'Your team is working on a shared Git repository. Which of the following is not the best practices to follow for smooth collaboration?',
23+
'Your team is working on a shared Git repository. Which of the following is not the best practice to follow for smooth collaboration?',
2124
new Map<AnswerChoice, string>([
2225
[AnswerChoice.A, 'Always pull before pushing to avoid conflicts.'],
2326
[
@@ -30,7 +33,7 @@ export class khayla_quiz implements QuizQuestionProvider {
3033
'Use Git stash to temporarily save uncommitted changes. ',
3134
],
3235
]),
33-
AnswerChoice.UNANSWERED,
36+
AnswerChoice.B,
3437
); // Replace `UNANSWERED` with the correct answer.
3538
}
3639

@@ -50,7 +53,7 @@ export class khayla_quiz implements QuizQuestionProvider {
5053
],
5154
[AnswerChoice.D, 'When you need to undo the last commit '],
5255
]),
53-
AnswerChoice.UNANSWERED,
56+
AnswerChoice.A,
5457
); // Replace `UNANSWERED` with the correct answer.
5558
}
5659
private static makeQuestion2(): QuizQuestion {
@@ -63,7 +66,7 @@ export class khayla_quiz implements QuizQuestionProvider {
6366
[AnswerChoice.C, 'Supersets'],
6467
[AnswerChoice.D, 'Git'],
6568
]),
66-
AnswerChoice.UNANSWERED,
69+
AnswerChoice.A,
6770
); // Replace `UNANSWERED` with the correct answer.
6871
}
6972
}

lesson_03/quiz/src/quizzes/quizzes.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { Module } from '@nestjs/common';
22
import { AnotherQuiz } from './another_quiz.js';
33
import { AnthonyMaysQuiz } from './anthony_mays_quiz.js';
4-
import { khayla_quiz } from './khayla_quiz.js';
4+
import { KhaylaSaundersQuiz } from './khayla_quiz.js';
55
export const Quizzes = Symbol.for('Quizzes');
66

77
// Add your quiz provider here.
8-
const QUIZ_PROVIDERS = [AnthonyMaysQuiz, AnotherQuiz, khayla_quiz];
8+
const QUIZ_PROVIDERS = [AnthonyMaysQuiz, AnotherQuiz, KhaylaSaundersQuiz];
99

1010
@Module({
1111
providers: [

0 commit comments

Comments
 (0)