We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 694e646 commit 0a29947Copy full SHA for 0a29947
test/spec/utils_spec.js
@@ -28,4 +28,9 @@ describe('Utils', function () {
28
Utils.parseDepends(all_skills.skills).toString().should.equal([{source: 1, target: 0}].toString())
29
});
30
31
+ describe('Get Skill By id', function () {
32
+ it('should return correct skill information by id', function () {
33
+ Utils.getSkillById(all_skills.skills, 1).toString().should.equal({ id: 1, name: 'Web' }.toString())
34
+ });
35
36
0 commit comments