Commit dcec0907 authored by Phil Hughes's avatar Phil Hughes

added spec

parent 962420c0
---
title: Added tooltips to tree list header
merge_request:
merge_request: 21138
author:
type: added
......@@ -46,4 +46,20 @@ describe('IDE new entry dropdown button component', () => {
done();
});
});
describe('tooltipTitle', () => {
it('returns empty string when showLabel is true', () => {
expect(vm.tooltipTitle).toBe('');
});
it('returns label', done => {
vm.showLabel = false;
vm.$nextTick(() => {
expect(vm.tooltipTitle).toBe('Testing');
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