src/__tests__/index.js   A
last analyzed

Complexity

Total Complexity 5
Complexity/F 1

Size

Lines of Code 19
Function Count 5

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 5
eloc 10
mnd 0
bc 0
fnc 5
dl 0
loc 19
rs 10
bpm 0
cpm 1
noi 0
c 0
b 0
f 0
1
import { monitor, monitorService, monitorModule, setupMonitor } from '../index';
2
3
describe('index', () => {
4
	it('exports monitor', () => {
5
		expect(typeof monitor).toBe('function');
6
	});
7
8
	it('exports monitorService', () => {
9
		expect(typeof monitorService).toBe('function');
10
	});
11
12
	it('exports monitorModule', () => {
13
		expect(typeof monitorModule).toBe('function');
14
	});
15
16
	it('exports setupMonitor', () => {
17
		expect(typeof setupMonitor).toBe('function');
18
	});
19
});
20