Skip to content

Commit 7d1ba2d

Browse files
committed
Fix some tests involving lazy or GPU
1 parent 0c5b2ba commit 7d1ba2d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/commons/sagas/__tests__/BackendSaga.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -832,8 +832,8 @@ describe('Test CHANGE_SUBLANGUAGE action', () => {
832832
test('when chapter is changed', () => {
833833
const sublang: SALanguage = {
834834
chapter: Chapter.SOURCE_4,
835-
variant: Variant.GPU,
836-
displayName: 'Source \xa74 GPU',
835+
variant: Variant.CONCURRENT,
836+
displayName: 'Source \xa74 Concurrent',
837837
mainLanguage: SupportedLanguage.JAVASCRIPT,
838838
supports: {}
839839
};
@@ -854,7 +854,7 @@ describe('Test CHANGE_SUBLANGUAGE action', () => {
854854
[
855855
call(putCourseConfig, mockTokens, {
856856
sourceChapter: Chapter.SOURCE_4,
857-
sourceVariant: Variant.GPU
857+
sourceVariant: Variant.CONCURRENT
858858
}),
859859
{ ok: true }
860860
]

src/commons/sagas/__tests__/PersistenceSaga.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const FILE_ID = '123';
2020
const FILE_NAME = 'file';
2121
const FILE_DATA = '// Hello world';
2222
const SOURCE_CHAPTER = Chapter.SOURCE_3;
23-
const SOURCE_VARIANT = Variant.LAZY;
23+
const SOURCE_VARIANT = Variant.DEFAULT;
2424
const SOURCE_LIBRARY = ExternalLibraryName.SOUNDS;
2525

2626
beforeAll(() => {

0 commit comments

Comments
 (0)