Commit 5c91113c authored by Phil Hughes's avatar Phil Hughes

Fixed karma specs

parent f29e5d4d
...@@ -30,13 +30,13 @@ describe('Deploy keys panel', () => { ...@@ -30,13 +30,13 @@ describe('Deploy keys panel', () => {
expect( expect(
vm.$el.querySelector('h5').textContent.trim(), vm.$el.querySelector('h5').textContent.trim(),
).toContain('(1)'); ).toContain(`(${vm.keys.length})`);
}); });
it('renders list of keys', () => { it('renders list of keys', () => {
expect( expect(
vm.$el.querySelectorAll('li').length, vm.$el.querySelectorAll('li').length,
).toBe(1); ).toBe(vm.keys.length);
}); });
it('renders help box if keys are empty', (done) => { it('renders help box if keys are empty', (done) => {
......
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