Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 12 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
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), |
||
|
|||
7 | language: expect.any(Function), |
||
8 | userInformation: expect.any(Function), |
||
9 | worker: expect.any(Function), |
||
10 | }); |
||
11 | }); |
||
12 | }); |
||
13 |
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.