Skip to content

Commit e2310d9

Browse files
committed
Fix the editor unit tests
1 parent f4e5bd2 commit e2310d9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/SIL.XForge.Scripture/ClientApp/src/app/translate/editor/editor.component.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4599,10 +4599,7 @@ describe('EditorComponent', () => {
45994599
});
46004600

46014601
const defaultTranslateConfig = {
4602-
translationSuggestionsEnabled: false,
4603-
draftConfig: {
4604-
usfmConfig: {}
4605-
}
4602+
translationSuggestionsEnabled: false
46064603
};
46074604

46084605
class TestEnvironment {
@@ -4658,6 +4655,9 @@ class TestEnvironment {
46584655
translateConfig: {
46594656
translationSuggestionsEnabled: true,
46604657
defaultNoteTagId: 2,
4658+
draftConfig: {
4659+
usfmConfig: {}
4660+
},
46614661
source: {
46624662
paratextId: 'source01',
46634663
projectRef: 'project02',
@@ -4920,7 +4920,7 @@ class TestEnvironment {
49204920

49214921
this.setupUsers();
49224922
this.setCurrentUser('user01');
4923-
this.setupProject({ translateConfig: defaultTranslateConfig });
4923+
this.setupProject();
49244924
this.addParatextNoteThread(1, 'MAT 1:1', 'chapter 1', { start: 8, length: 9 }, ['user01', 'user02', 'user03']);
49254925
this.addParatextNoteThread(2, 'MAT 1:3', 'target: chapter 1, verse 3.', { start: 0, length: 0 }, ['user01']);
49264926
this.addParatextNoteThread(3, 'MAT 1:3', 'verse 3', { start: 20, length: 7 }, ['user01']);

0 commit comments

Comments
 (0)