Commit 76c5abca authored by Lukas Eipert's avatar Lukas Eipert

fix failing karma test in `spec/javascripts/boards/issue_spec.js`

parent 182b3acb
...@@ -313,7 +313,7 @@ describe('Issue card component', () => { ...@@ -313,7 +313,7 @@ describe('Issue card component', () => {
Vue.nextTick() Vue.nextTick()
.then(() => { .then(() => {
expect( expect(
component.$el.querySelectorAll('.label').length, component.$el.querySelectorAll('.badge').length,
).toBe(3); ).toBe(3);
expect( expect(
component.$el.textContent, component.$el.textContent,
...@@ -335,7 +335,7 @@ describe('Issue card component', () => { ...@@ -335,7 +335,7 @@ describe('Issue card component', () => {
Vue.nextTick() Vue.nextTick()
.then(() => { .then(() => {
expect( expect(
component.$el.querySelectorAll('.label').length, component.$el.querySelectorAll('.badge').length,
).toBe(3); ).toBe(3);
expect( expect(
component.$el.textContent, component.$el.textContent,
......
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