Skip to content

Commit 3b334a1

Browse files
committed
utils spec issue fixed.
1 parent 6270dcf commit 3b334a1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

projects/multiselect/src/lib/utils.spec.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import 'jasmine';
2+
13
import { MultiselectOption } from './models/multiselect-option.model';
24
import { closest, optionsGrouping, mirrorObject, virtualOptionsGroupingFlatten, findUnique, } from './utils';
35

@@ -64,7 +66,10 @@ describe('MultiselectService', () => {
6466
// arrange
6567
const obj = { id: 'Team', name: 'TeamName' };
6668
const keys = Object.keys(obj);
67-
const values = Object.values(obj);
69+
const values = Object.keys(obj).map(function (e) {
70+
return obj[e]
71+
})
72+
6873

6974
// act
7075
const reverse = mirrorObject(obj);

0 commit comments

Comments
 (0)