Skip to content

Commit ee5adf0

Browse files
committed
fix lynx tests after rebase
1 parent 632d069 commit ee5adf0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/SIL.XForge.Scripture/ClientApp/src/app/translate/editor/lynx/insights/lynx-workspace.service.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -902,6 +902,8 @@ describe('LynxWorkspaceService', () => {
902902

903903
it('should return empty array when auto-corrections are disabled', fakeAsync(async () => {
904904
const env = new TestEnvironment();
905+
await env.init();
906+
flush();
905907
env.service['textDocId'] = new TextDocId(PROJECT_ID, BOOK_NUM, CHAPTER_NUM);
906908

907909
// Create project with auto-corrections disabled
@@ -927,6 +929,8 @@ describe('LynxWorkspaceService', () => {
927929

928930
it('should return edits when auto-corrections are enabled', fakeAsync(async () => {
929931
const env = new TestEnvironment();
932+
await env.init();
933+
flush();
930934

931935
env.setCustomWorkspaceMock((workspaceMock: any) => {
932936
when(workspaceMock.getOnTypeEdits(anything(), anything(), anything())).thenReturn(

0 commit comments

Comments
 (0)