Commit 8cf0f793 authored by Nathan Friend's avatar Nathan Friend

Merge branch 'xanf/remove-useless-tests' into 'master'

Remove useless tests

See merge request gitlab-org/gitlab!50111
parents 17a09f96 e129a9de
...@@ -507,13 +507,6 @@ describe('Issuable output', () => { ...@@ -507,13 +507,6 @@ describe('Issuable output', () => {
expect(wrapper.vm.issueChanged).toBe(false); expect(wrapper.vm.issueChanged).toBe(false);
}); });
it('returns false when `initialTitleText` is null and `formState.title` is empty string', () => {
wrapper.vm.store.formState.title = '';
wrapper.setProps({ initialTitleText: null });
expect(wrapper.vm.issueChanged).toBe(false);
});
it('returns true when description is changed', () => { it('returns true when description is changed', () => {
wrapper.vm.store.formState.description = 'RandomText'; wrapper.vm.store.formState.description = 'RandomText';
......
...@@ -78,10 +78,5 @@ describe('Sentry Error Stack Trace', () => { ...@@ -78,10 +78,5 @@ describe('Sentry Error Stack Trace', () => {
expect(wrapper.find(GlLoadingIcon).exists()).toBe(false); expect(wrapper.find(GlLoadingIcon).exists()).toBe(false);
expect(wrapper.find(Stacktrace).exists()).toBe(true); expect(wrapper.find(Stacktrace).exists()).toBe(true);
}); });
it('should not show stacktrace if it does not exist', () => {
expect(wrapper.find(GlLoadingIcon).exists()).toBe(false);
expect(wrapper.find(Stacktrace).exists()).toBe(false);
});
}); });
}); });
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment