Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/pipeline_wizard/components/editor_spec.js')
-rw-r--r--spec/frontend/pipeline_wizard/components/editor_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/pipeline_wizard/components/editor_spec.js b/spec/frontend/pipeline_wizard/components/editor_spec.js
index 446412a4f02..540a08d2c7f 100644
--- a/spec/frontend/pipeline_wizard/components/editor_spec.js
+++ b/spec/frontend/pipeline_wizard/components/editor_spec.js
@@ -42,7 +42,7 @@ describe('Pages Yaml Editor wrapper', () => {
it('does not cause the touch event to be emitted', () => {
wrapper.setProps({ doc });
- expect(wrapper.emitted('touch')).not.toBeTruthy();
+ expect(wrapper.emitted('touch')).toBeUndefined();
});
});
@@ -63,7 +63,7 @@ describe('Pages Yaml Editor wrapper', () => {
it('emits touch if content is changed in editor', async () => {
await wrapper.vm.editor.setValue('foo: boo');
- expect(wrapper.emitted('touch')).toBeTruthy();
+ expect(wrapper.emitted('touch')).toEqual([expect.any(Array)]);
});
});
});