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