Skip to content

Commit 64e02b6

Browse files
committed
fix lynx tests after rebase
1 parent f595b5c commit 64e02b6

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
@@ -859,6 +859,8 @@ describe('LynxWorkspaceService', () => {
859859

860860
it('should return empty array when auto-corrections are disabled', fakeAsync(async () => {
861861
const env = new TestEnvironment();
862+
await env.init();
863+
flush();
862864
env.service['textDocId'] = new TextDocId(PROJECT_ID, BOOK_NUM, CHAPTER_NUM);
863865

864866
// Create project with auto-corrections disabled
@@ -884,6 +886,8 @@ describe('LynxWorkspaceService', () => {
884886

885887
it('should return edits when auto-corrections are enabled', fakeAsync(async () => {
886888
const env = new TestEnvironment();
889+
await env.init();
890+
flush();
887891

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

0 commit comments

Comments
 (0)