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

index.js ➔ describe(ꞌGedcomXꞌ)   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
c 1
b 1
f 0
nc 1
nop 0
dl 0
loc 11
rs 9.4285

2 Functions

Rating   Name   Duplication   Size   Complexity  
A index.js ➔ ... ➔ it(ꞌBase is exposedꞌ) 0 3 1
A index.js ➔ ... ➔ it(ꞌGedcomX() returns a Rootꞌ) 0 3 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
});