Passed
Push — trunk ( 17b9ed...85c15e )
by Christian
12:23 queued 13s
created

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

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 12
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 8
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 2
mnd 0
bc 0
fnc 2
bpm 0
cpm 1
noi 1
1
import initPost from 'src/app/init-post/index';
2
3
describe('src/app/init-post/index.ts', () => {
4
    it('should export all post initializer', () => {
5
        expect(initPost).toEqual({
6
            cookies: expect.any(Function),
0 ignored issues
show
Bug introduced by
The variable expect seems to be never declared. If this is a global, consider adding a /** global: expect */ 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
            language: expect.any(Function),
8
            userInformation: expect.any(Function),
9
            worker: expect.any(Function),
10
        });
11
    });
12
});
13