Total Complexity | 8 |
Complexity/F | 1 |
Lines of Code | 39 |
Function Count | 8 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | import { |
||
2 | compose, |
||
3 | toMiddleware, |
||
4 | addMeta, |
||
5 | tagService, |
||
6 | enhancedRender, |
||
7 | createEnhancer, |
||
8 | isPromise, |
||
9 | } from '../index'; |
||
10 | |||
11 | describe('n-express-enhancer exports', () => { |
||
12 | it('compose', () => { |
||
13 | expect(typeof compose).toBe('function'); |
||
14 | }); |
||
15 | |||
16 | it('toMiddleware', () => { |
||
17 | expect(typeof toMiddleware).toBe('function'); |
||
18 | }); |
||
19 | |||
20 | it('addMeta', () => { |
||
21 | expect(typeof addMeta).toBe('function'); |
||
22 | }); |
||
23 | |||
24 | it('tagService', () => { |
||
25 | expect(typeof tagService).toBe('function'); |
||
26 | }); |
||
27 | |||
28 | it('enhancedRender', () => { |
||
29 | expect(typeof enhancedRender).toBe('function'); |
||
30 | }); |
||
31 | |||
32 | it('createEnhancer', () => { |
||
33 | expect(typeof createEnhancer).toBe('function'); |
||
34 | }); |
||
35 | |||
36 | it('isPromise', () => { |
||
37 | expect(typeof isPromise).toBe('function'); |
||
38 | }); |
||
39 | }); |
||
40 |