Completed
Push — master ( 48d68d...597fc8 )
by Justin
01:38
created

test/index.js   A

Complexity

Total Complexity 3
Complexity/F 1

Size

Lines of Code 14
Function Count 3

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 0
c 1
b 1
f 0
nc 1
dl 0
loc 14
rs 10
wmc 3
mnd 0
bc 3
fnc 3
bpm 1
cpm 1
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A index.js ➔ describe(ꞌGedcomXꞌ) 0 11 1
1
var assert = require('chai').assert,
2
    GedcomX = require('../');
3
    
4
describe('GedcomX', function(){
5
  
6
  it('GedcomX() returns a Root', function(){
7
    assert(GedcomX.Root.isInstance(GedcomX()));
8
  });
9
  
10
  it('Base is exposed', function(){
11
    assert(GedcomX.Base.isInstance(GedcomX.Base()));
12
  });
13
  
14
});