Code coverage report for gt/src/equiv.js

Statements: 100% (5 / 5)      Branches: 50% (1 / 2)      Functions: 100% (0 / 0)      Lines: 100% (5 / 5)      Ignored: none     

All files » gt/src/ » equiv.js
1 2 3 4 5 6 7 8 9 10 11 12    1 1   1   1   1    
/* global gt:true */
/* jshint indent:2 */
console.assert(gt, 'gt framework not registered');
var _ = require('lodash');
 
Eif (typeof gt.equiv === 'undefined') {
  // deep equiality comparison
  gt.equiv = _.isEqual;
}
console.assert(typeof gt.equiv === 'function',
  'expected .equiv property to be a function');