Skip to content

Commit bf23dee

Browse files
Arthur AgombartArthur Agombart
authored andcommitted
tests: apply only usefull tests
1 parent 52a351f commit bf23dee

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

src/input-tags.spec.js

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,30 +46,18 @@ describe('Module: angularjs-input-tags -', () => {
4646
expect(ctrl.tags.length).toBe(1);
4747
});
4848

49-
it('should ', () => {
49+
it('should display autocomplete on focus', () => {
5050
ctrl.$onInit();
5151
ctrl.triggerFocus();
5252
expect(ctrl.autocompleteVisible).toBe(true);
5353
});
5454

55-
it('should ', () => {
55+
it('should hide autocomplete on blur', () => {
5656
ctrl.$onInit();
5757
ctrl.triggerBlur();
5858
expect(ctrl.autocompleteVisible).toBe(false);
5959
});
6060

61-
it('should ', () => {
62-
ctrl.$onInit();
63-
ctrl.getTagText({text: 'test'});
64-
expect(ctrl.autocompleteVisible).toBe(false);
65-
});
66-
67-
it('should ', () => {
68-
ctrl.$onInit();
69-
const result = ctrl.track({text: '1'});
70-
expect(result).toBe('1');
71-
});
72-
7361
it('should emit `onTagRemoving` event', () => {
7462
ctrl.$onInit();
7563
ctrl.tags = ['Demo'];

0 commit comments

Comments
 (0)