Commit d3e4fa9f authored by Alexander Turinske's avatar Alexander Turinske

Clean up code

- remove unnecessary comments
parent 0d2a5230
......@@ -87,7 +87,7 @@ export default {
v-for="(label, field) in $options.statuses"
:key="field"
:active="field === status"
:active-class="'is-active'"
active-class="'is-active'"
@click="updateAlertStatus(field)"
>
{{ label }}
......
......@@ -39,10 +39,8 @@ describe('AlertStatus', () => {
});
afterEach(() => {
if (wrapper) {
wrapper.destroy();
wrapper = null;
}
wrapper.destroy();
wrapper = null;
});
describe('a successful request', () => {
......@@ -100,7 +98,6 @@ describe('AlertStatus', () => {
await selectFirstStatusOption();
await wrapper.vm.$nextTick();
await selectFirstStatusOption();
// Should emit two errors [0,1]
expect(wrapper.emitted('alert-error').length > 1).toBe(true);
});
......
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