Completed
Push — master ( 434e73...271bd5 )
by
unknown
02:13
created

test/util.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 1
Bugs 0 Features 0
Metric Value
cc 0
wmc 2
c 1
b 0
f 0
nc 1
mnd 0
bc 2
fnc 2
dl 0
loc 14
rs 10
bpm 1
cpm 1
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A util.js ➔ describe(ꞌUtilꞌ) 0 11 1
1
var chai = require('chai');
2
var coreUtils = require('../src/cli').coreUtils
3
4
describe('Util', function() {
5
6
  /**
7
   * coreUtils.text.replaceUnwantedChar
8
   * 
9
   */
10
  it('coreUtils.text.replaceUnwantedChar', function() {
11
  	var list = coreUtils.text.replaceUnwantedChar('Š')
12
  	chai.expect(list.indexOf('Š')).to.equal(-1);
13
  });
14
});
15