Commit 5477331b authored by Phil Hughes's avatar Phil Hughes

fix code quality spec

parent 9173cbf6
......@@ -107,7 +107,7 @@ describe('Merge Request Code Quality', () => {
Vue.nextTick(() => {
expect(
vm.$el.querySelector('.code-quality-container').getAttribute('style'),
).toEqual(null);
).toEqual('');
expect(
vm.$el.querySelector('button').textContent.trim(),
).toEqual('Collapse');
......@@ -121,9 +121,10 @@ describe('Merge Request Code Quality', () => {
expect(
vm.$el.querySelector('button').textContent.trim(),
).toEqual('Expand');
done();
});
});
done();
}, 0);
});
});
......
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