Tests/spec/generateconfiguredmodel.spec.js   A
last analyzed

Complexity

Total Complexity 3
Complexity/F 1

Size

Lines of Code 8
Function Count 3

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
c 1
b 0
f 0
dl 0
loc 8
rs 10
cc 0
nc 1
mnd 0
bc 3
fnc 3
bpm 1
cpm 1
noi 2
1
describe('Configured Model Generator', function () {
2
    it('Auto model should exist', function() {
3
        expect(Test.model.Auto).toBeDefined();
0 ignored issues
show
Bug introduced by
The variable Test seems to be never declared. If this is a global, consider adding a /** global: Test */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
4
    });
5
    it('Car model should exist', function() {
6
        expect(Test.TestBundle.Entity.Car).toBeDefined();
0 ignored issues
show
Bug introduced by
The variable Test seems to be never declared. If this is a global, consider adding a /** global: Test */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
7
    });
8
});