提交 5c91113c 编写于 作者: P Phil Hughes

Fixed karma specs

上级 f29e5d4d
......@@ -30,13 +30,13 @@ describe('Deploy keys panel', () => {
expect(
vm.$el.querySelector('h5').textContent.trim(),
).toContain('(1)');
).toContain(`(${vm.keys.length})`);
});
it('renders list of keys', () => {
expect(
vm.$el.querySelectorAll('li').length,
).toBe(1);
).toBe(vm.keys.length);
});
it('renders help box if keys are empty', (done) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册