We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b7f17e commit d8747dbCopy full SHA for d8747db
1 file changed
test/unit/sagas/clients.js
@@ -18,6 +18,7 @@ import {
18
import {createProjectSnapshot} from '../../../src/clients/firebase';
19
import {createShareToClassroomUrl} from '../../../src/clients/googleClassroom';
20
import {getCurrentProject} from '../../../src/selectors';
21
+import {generateTextPreview} from '../../../src/util/compileProject';
22
23
test('createSnapshot()', (t) => {
24
const {project} = new Scenario();
@@ -135,6 +136,10 @@ test('export to classroom', (t) => {
135
136
scenario.project.toJS(),
137
).
138
next(snapshotKey).call(
139
+ generateTextPreview,
140
+ scenario.project.toJS(),
141
+ ).
142
+ next(projectTitle).call(
143
createShareToClassroomUrl,
144
snapshotKey,
145
projectTitle,
0 commit comments