Passed
Push — trunk ( 5d9bf1...024f41 )
by Christian
34:40 queued 22:07
created

src/Administration/Resources/app/administration/src/app/init-pre/init-pre.spec.js   A

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 9
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 2
mnd 0
bc 0
fnc 2
bpm 0
cpm 1
noi 0
1
import initPreIndex from 'src/app/init-pre/index';
2
3
describe('src/app/init-pre/index.ts', () => {
4
    it('should contain pre-initializer', () => {
5
        expect(Object.keys(initPreIndex)).toHaveLength(2);
6
        expect(initPreIndex.apiServices).toBeDefined();
7
        expect(initPreIndex.state).toBeDefined();
8
    });
9
});
10