-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathquizzes.spec.js.snap
More file actions
180 lines (114 loc) · 13.1 KB
/
quizzes.spec.js.snap
File metadata and controls
180 lines (114 loc) · 13.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`protowizard 4. create quiz 4.1 should add quiz to pristine lesson 1`] = `"Let's create a multiple-choice quiz! This will only work if you've already created the tutorial and lesson files."`;
exports[`protowizard 4. create quiz 4.1 should add quiz to pristine lesson 2`] = `
"Great! You've chosen to build a quiz for:
‣ Tutorial: New Tutorial (11)
‣ Lesson: Lesson 1"
`;
exports[`protowizard 4. create quiz 4.1 should add quiz to pristine lesson 3`] = `"When we create a quiz together, it will overwrite any existing content. If you think you may have previously updated this quiz manually, you may want to double check before proceeding."`;
exports[`protowizard 4. create quiz 4.1 should add quiz to pristine lesson 4`] = `"To preview the quiz in its current state, first run \`npm start\` in a separate terminal window or tab, then visit this page in your web browser: http://localhost:3000/new-tut-11/01"`;
exports[`protowizard 4. create quiz 4.1 should add quiz to pristine lesson 5`] = `"Now it's time to write the question for your multiple-choice quiz and provide answer choices, with positive or negative feedback for each. Wrong answers, and the feedback associated with them, are a great way to address common misconceptions about the topic. Be sure to make your feedback as helpful as possible, to guide the learner to the right choice. You'll need to create 1 correct answer and 2-3 incorrect answers. (I'll take care of randomizing their order later.)"`;
exports[`protowizard 4. create quiz 4.1 should add quiz to pristine lesson 6`] = `"Question: \\"What's my question?\\""`;
exports[`protowizard 4. create quiz 4.1 should add quiz to pristine lesson 7`] = `"Answer (Correct): \\"Correct answer\\""`;
exports[`protowizard 4. create quiz 4.1 should add quiz to pristine lesson 8`] = `"Feedback: \\"Positive feedback\\""`;
exports[`protowizard 4. create quiz 4.1 should add quiz to pristine lesson 9`] = `"Answer (Incorrect): \\"Incorrect answer 1\\""`;
exports[`protowizard 4. create quiz 4.1 should add quiz to pristine lesson 10`] = `"Feedback: \\"Feedback for incorrect answer 1\\""`;
exports[`protowizard 4. create quiz 4.1 should add quiz to pristine lesson 11`] = `"You currently have 1 correct answer and 1 wrong answer. (I recommend providing 2-3 incorrect options.)"`;
exports[`protowizard 4. create quiz 4.1 should add quiz to pristine lesson 12`] = `"Answer (Incorrect): \\"Incorrect answer 2\\""`;
exports[`protowizard 4. create quiz 4.1 should add quiz to pristine lesson 13`] = `"Feedback: \\"Feedback for incorrect answer 2\\""`;
exports[`protowizard 4. create quiz 4.1 should add quiz to pristine lesson 14`] = `"You currently have 1 correct answer and 2 wrong answers. (I recommend providing 2-3 incorrect options.)"`;
exports[`protowizard 4. create quiz 4.1 should add quiz to pristine lesson 15`] = `"To preview your quiz, first run \`npm start\` in a separate terminal window or tab, then visit this page in your web browser: http://localhost:3000/new-tut-11/01"`;
exports[`protowizard 4. create quiz 4.1 should add quiz to pristine lesson 16`] = `"To make changes to your quiz, you can edit this file directly: src/tutorials/0011-new-tut-11/01.js"`;
exports[`protowizard 4. create quiz 4.1 should add quiz to pristine lesson 17`] = `"Okay, no problem. You can summon me later to add more quizzes."`;
exports[`protowizard 4. create quiz 4.1 should add quiz to pristine lesson 18`] = `"View the detailed guide to developing tutorials at: https://bit.ly/protoschool-developing"`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 1`] = `"Welcome! I'm the ProtoWizard, and I'm excited to help you build your ProtoSchool tutorial."`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 2`] = `"Let's create a multiple-choice quiz! This will only work if you've already created the tutorial and lesson files."`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 3`] = `
"Great! You've chosen to build a quiz for:
‣ Tutorial: New Tutorial (11)
‣ Lesson: Lesson 1"
`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 4`] = `"When we create a quiz together, it will overwrite any existing content. If you think you may have previously updated this quiz manually, you may want to double check before proceeding."`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 5`] = `"To preview the quiz in its current state, first run \`npm start\` in a separate terminal window or tab, then visit this page in your web browser: http://localhost:3000/new-tut-11/01"`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 6`] = `"Now it's time to write the question for your multiple-choice quiz and provide answer choices, with positive or negative feedback for each. Wrong answers, and the feedback associated with them, are a great way to address common misconceptions about the topic. Be sure to make your feedback as helpful as possible, to guide the learner to the right choice. You'll need to create 1 correct answer and 2-3 incorrect answers. (I'll take care of randomizing their order later.)"`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 7`] = `"Question: \\"Question to overwrite\\""`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 8`] = `"Answer (Correct): \\"Correct answer to overwrite\\""`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 9`] = `"Feedback: \\"Correct feedback to overwrite\\""`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 10`] = `"Answer (Incorrect): \\"Incorrect answer to overwrite\\""`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 11`] = `"Feedback: \\"Incorrect feedback to overwrite\\""`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 12`] = `"You currently have 1 correct answer and 1 wrong answer. (I recommend providing 2-3 incorrect options.)"`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 13`] = `"To preview your quiz, first run \`npm start\` in a separate terminal window or tab, then visit this page in your web browser: http://localhost:3000/new-tut-11/01"`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 14`] = `"To make changes to your quiz, you can edit this file directly: src/tutorials/0011-new-tut-11/01.js"`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 15`] = `"Let's create a multiple-choice quiz! This will only work if you've already created the tutorial and lesson files."`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 16`] = `
"Great! You've chosen to build a quiz for:
‣ Tutorial: New Tutorial (11)
‣ Lesson: Lesson 1"
`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 17`] = `"It looks like you've already created the quiz for this lesson."`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 18`] = `"To preview the existing version, first run \`npm start\` in a separate terminal window or tab, then visit this page in your web browser: http://localhost:3000/new-tut-11/01"`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 19`] = `"Now it's time to write the question for your multiple-choice quiz and provide answer choices, with positive or negative feedback for each. Wrong answers, and the feedback associated with them, are a great way to address common misconceptions about the topic. Be sure to make your feedback as helpful as possible, to guide the learner to the right choice. You'll need to create 1 correct answer and 2-3 incorrect answers. (I'll take care of randomizing their order later.)"`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 20`] = `"Question: \\"What's my question?\\""`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 21`] = `"Answer (Correct): \\"Correct answer\\""`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 22`] = `"Feedback: \\"Positive feedback\\""`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 23`] = `"Answer (Incorrect): \\"Incorrect answer 1\\""`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 24`] = `"Feedback: \\"Feedback for incorrect answer 1\\""`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 25`] = `"You currently have 1 correct answer and 1 wrong answer. (I recommend providing 2-3 incorrect options.)"`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 26`] = `"Answer (Incorrect): \\"Incorrect answer 2\\""`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 27`] = `"Feedback: \\"Feedback for incorrect answer 2\\""`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 28`] = `"You currently have 1 correct answer and 2 wrong answers. (I recommend providing 2-3 incorrect options.)"`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 29`] = `"To preview your quiz, first run \`npm start\` in a separate terminal window or tab, then visit this page in your web browser: http://localhost:3000/new-tut-11/01"`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 30`] = `"To make changes to your quiz, you can edit this file directly: src/tutorials/0011-new-tut-11/01.js"`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 31`] = `"Okay, no problem. You can summon me later to add more quizzes."`;
exports[`protowizard 4. create quiz 4.2 should add quiz to existing lesson 32`] = `"View the detailed guide to developing tutorials at: https://bit.ly/protoschool-developing"`;
exports[`protowizard 4. create quiz 4.3 should cancel overwrite of non-pristine lesson 1`] = `"Welcome! I'm the ProtoWizard, and I'm excited to help you build your ProtoSchool tutorial."`;
exports[`protowizard 4. create quiz 4.3 should cancel overwrite of non-pristine lesson 2`] = `"Let's create a multiple-choice quiz! This will only work if you've already created the tutorial and lesson files."`;
exports[`protowizard 4. create quiz 4.3 should cancel overwrite of non-pristine lesson 3`] = `
"Great! You've chosen to build a quiz for:
‣ Tutorial: New Tutorial (11)
‣ Lesson: Lesson 1"
`;
exports[`protowizard 4. create quiz 4.3 should cancel overwrite of non-pristine lesson 4`] = `"It looks like you've already created the quiz for this lesson."`;
exports[`protowizard 4. create quiz 4.3 should cancel overwrite of non-pristine lesson 5`] = `"To preview the existing version, first run \`npm start\` in a separate terminal window or tab, then visit this page in your web browser: http://localhost:3000/new-tut-11/01"`;
exports[`protowizard 4. create quiz 4.3 should cancel overwrite of non-pristine lesson 6`] = `"Okay, no problem. You can edit your existing quiz directly in this file: src/tutorials/0011-new-tut-11/01.js"`;
exports[`protowizard 4. create quiz 4.3 should cancel overwrite of non-pristine lesson 7`] = `
"
/* eslint quotes: [\\"error\\", \\"double\\"] */
// Question must be a string
const question = \\"What's my question?\\"
// Choices must be an array of objects, each with the properties:
// \`answer\` (string), \`correct\` (boolean), and \`feedback\` (string)
// Only one answer can be correct.
const choices = [
{
\\"answer\\": \\"Incorrect answer 1\\",
\\"correct\\": false,
\\"feedback\\": \\"Feedback for incorrect answer 1\\"
},
{
\\"answer\\": \\"Correct answer\\",
\\"correct\\": true,
\\"feedback\\": \\"Positive feedback\\"
},
{
\\"answer\\": \\"Incorrect answer 2\\",
\\"correct\\": false,
\\"feedback\\": \\"Feedback for incorrect answer 2\\"
}
]
export default {
question,
choices
}
"
`;
exports[`protowizard 4. create quiz 4.4 should cancel overwrite of pristine lesson 1`] = `"Welcome! I'm the ProtoWizard, and I'm excited to help you build your ProtoSchool tutorial."`;
exports[`protowizard 4. create quiz 4.4 should cancel overwrite of pristine lesson 2`] = `"Let's create a multiple-choice quiz! This will only work if you've already created the tutorial and lesson files."`;
exports[`protowizard 4. create quiz 4.4 should cancel overwrite of pristine lesson 3`] = `
"Great! You've chosen to build a quiz for:
‣ Tutorial: New Tutorial (11)
‣ Lesson: Lesson 1"
`;
exports[`protowizard 4. create quiz 4.4 should cancel overwrite of pristine lesson 4`] = `"When we create a quiz together, it will overwrite any existing content. If you think you may have previously updated this quiz manually, you may want to double check before proceeding."`;
exports[`protowizard 4. create quiz 4.4 should cancel overwrite of pristine lesson 5`] = `"To preview the quiz in its current state, first run \`npm start\` in a separate terminal window or tab, then visit this page in your web browser: http://localhost:3000/new-tut-11/01"`;
exports[`protowizard 4. create quiz 4.4 should cancel overwrite of pristine lesson 6`] = `"Okay, no problem. You can edit your existing quiz directly in this file: src/tutorials/0011-new-tut-11/01.js"`;