Skip to content

Commit d8747db

Browse files
committed
update tests
1 parent 0b7f17e commit d8747db

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/unit/sagas/clients.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import {
1818
import {createProjectSnapshot} from '../../../src/clients/firebase';
1919
import {createShareToClassroomUrl} from '../../../src/clients/googleClassroom';
2020
import {getCurrentProject} from '../../../src/selectors';
21+
import {generateTextPreview} from '../../../src/util/compileProject';
2122

2223
test('createSnapshot()', (t) => {
2324
const {project} = new Scenario();
@@ -135,6 +136,10 @@ test('export to classroom', (t) => {
135136
scenario.project.toJS(),
136137
).
137138
next(snapshotKey).call(
139+
generateTextPreview,
140+
scenario.project.toJS(),
141+
).
142+
next(projectTitle).call(
138143
createShareToClassroomUrl,
139144
snapshotKey,
140145
projectTitle,

0 commit comments

Comments
 (0)