Passed
Push — master ( 7cf5fc...99bcaf )
by Zhenyu
01:46
created

index.js ➔ ???   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 25

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
dl 0
loc 25
rs 8.8571
nop 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A index.js ➔ ... ➔ ??? 0 3 1
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