Commit 43a305d6 authored by Alexander Turinske's avatar Alexander Turinske

Fix test title to be correct

- fix test title to say it tests when something does not
  happen
parent 18f462ab
...@@ -163,7 +163,7 @@ describe('Report section', () => { ...@@ -163,7 +163,7 @@ describe('Report section', () => {
.catch(done.fail); .catch(done.fail);
}); });
it('emits an event on issue toggle if the shouldEmitToggleEvent prop does exist', done => { it('does emit an event on issue toggle if the shouldEmitToggleEvent prop does exist', done => {
createComponent({ hasIssues: true, shouldEmitToggleEvent: true }); createComponent({ hasIssues: true, shouldEmitToggleEvent: true });
expect(wrapper.emitted().toggleEvent).toBeUndefined(); expect(wrapper.emitted().toggleEvent).toBeUndefined();
...@@ -178,7 +178,7 @@ describe('Report section', () => { ...@@ -178,7 +178,7 @@ describe('Report section', () => {
.catch(done.fail); .catch(done.fail);
}); });
it('emits an event on issue toggle if the shouldEmitToggleEvent prop does not exist', done => { it('does not emit an event on issue toggle if the shouldEmitToggleEvent prop does not exist', done => {
createComponent({ hasIssues: true }); createComponent({ hasIssues: true });
expect(wrapper.emitted().toggleEvent).toBeUndefined(); expect(wrapper.emitted().toggleEvent).toBeUndefined();
......
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