src/__tests__/index.js   A
last analyzed

Complexity

Total Complexity 9
Complexity/F 1

Size

Lines of Code 44
Function Count 9

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
wmc 9
c 1
b 0
f 0
nc 1
mnd 0
bc 9
fnc 9
dl 0
loc 44
rs 10
bpm 1
cpm 1
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A index.js ➔ ??? 0 33 1
1
import {
2
	initAutoMetrics,
3
	getMetricsInstance,
4
	tagService,
5
	metricsAction,
6
	metricsOperation,
7
	toMiddleware,
8
	enhancedRender,
9
	compose,
10
} from '../index';
11
12
describe('n-auto-metrics exports', () => {
13
	it('initAutoMetrics', () => {
14
		expect(typeof initAutoMetrics).toBe('function');
15
	});
16
17
	it('getMetricsInstance', () => {
18
		expect(typeof getMetricsInstance).toBe('function');
19
	});
20
21
	it('tagService', () => {
22
		expect(typeof tagService).toBe('function');
23
	});
24
25
	it('metricsAction', () => {
26
		expect(typeof metricsAction).toBe('function');
27
	});
28
29
	it('metricsOperation', () => {
30
		expect(typeof metricsOperation).toBe('function');
31
	});
32
33
	it('toMiddleware', () => {
34
		expect(typeof toMiddleware).toBe('function');
35
	});
36
37
	it('enhancedRender', () => {
38
		expect(typeof enhancedRender).toBe('function');
39
	});
40
41
	it('compose', () => {
42
		expect(typeof compose).toBe('function');
43
	});
44
});
45