Total Complexity | 9 |
Complexity/F | 1 |
Lines of Code | 44 |
Function Count | 9 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
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 |