Completed
Branch master (93a1f2)
by Daniel
01:17
created

test/require.test.js   A

Complexity

Total Complexity 3
Complexity/F 1

Size

Lines of Code 12
Function Count 3

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
wmc 3
c 1
b 0
f 0
nc 1
mnd 0
bc 3
fnc 3
dl 0
loc 12
rs 10
bpm 1
cpm 1
noi 2
1
import chai from 'chai';
2
3
var strman = require('../transpiler/strman');
4
var isString = strman.isString;
5
6
describe('Usage with require', () => {
7
    describe('#require', () => {
8
        it('should be true when value is true', () => {
9
            chai.expect(isString('foo')).to.equal(true);
10
        });
11
    });
12
});
13