Passed
Push — master ( 86ced5...e9c0b0 )
by Dmytro
01:49
created

tests/helpers/object/clone.test.js   A

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 14
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 8
mnd 0
bc 0
fnc 2
dl 0
loc 14
rs 10
bpm 0
cpm 1
noi 0
c 0
b 0
f 0
1
import { clone } from '../../entry';
2
import { FunctionTester } from '../../utils';
3
4
const tester = new FunctionTester(clone);
5
6
suite('object: clone');
7
8
test('Positive: deep clone @example', function () {
9
    tester.test({ a: 1, b: { c: 'text' } }, { a: 1, b: { c: 'text' } });
10
});
11
12
after(async function () {
13
    // console.log('after', this);
14
});
15
16