diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 02:18:09 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 02:18:09 +0300 |
commit | 6ed4ec3e0b1340f96b7c043ef51d1b33bbe85fde (patch) | |
tree | dc4d20fe6064752c0bd323187252c77e0a89144b /spec/frontend/editor/source_editor_webide_ext_spec.js | |
parent | 9868dae7fc0655bd7ce4a6887d4e6d487690eeed (diff) |
Add latest changes from gitlab-org/gitlab@15-4-stable-eev15.4.0-rc42
Diffstat (limited to 'spec/frontend/editor/source_editor_webide_ext_spec.js')
-rw-r--r-- | spec/frontend/editor/source_editor_webide_ext_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/editor/source_editor_webide_ext_spec.js b/spec/frontend/editor/source_editor_webide_ext_spec.js index 096b6b1646f..f418eab668a 100644 --- a/spec/frontend/editor/source_editor_webide_ext_spec.js +++ b/spec/frontend/editor/source_editor_webide_ext_spec.js @@ -30,7 +30,7 @@ describe('Source Editor Web IDE Extension', () => { const sideBySideSpy = jest.spyOn(instance, 'updateOptions'); instance.use({ definition: EditorWebIdeExtension }); - expect(sideBySideSpy).toBeCalledWith({ renderSideBySide }); + expect(sideBySideSpy).toHaveBeenCalledWith({ renderSideBySide }); }, ); @@ -45,11 +45,11 @@ describe('Source Editor Web IDE Extension', () => { const sideBySideSpy = jest.spyOn(instance, 'updateOptions'); await emitter.fire(); - expect(sideBySideSpy).toBeCalledWith({ renderSideBySide: true }); + expect(sideBySideSpy).toHaveBeenCalledWith({ renderSideBySide: true }); editorEl.style.width = '0px'; await emitter.fire(); - expect(sideBySideSpy).toBeCalledWith({ renderSideBySide: false }); + expect(sideBySideSpy).toHaveBeenCalledWith({ renderSideBySide: false }); }); }); }); |