tests/generators/firstName.test.js   A
last analyzed

Complexity

Total Complexity 3
Complexity/F 1

Size

Lines of Code 16
Function Count 3

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 9
mnd 0
bc 0
fnc 3
dl 0
loc 16
rs 10
bpm 0
cpm 1
noi 0
c 0
b 0
f 0
1
import { assert } from 'chai';
2
import entry from '../entry';
3
4
suite('Generators: firstName');
5
6
test('male name', function () {
7
    assert.exists(entry.maleFirstName());
8
});
9
10
test('female name', function () {
11
    assert.exists(entry.femaleFirstName());
12
});
13
14
test('first name', function () {
15
    assert.exists(entry.firstName());
16
});
17