Projekt

Obecné

Profil

Stáhnout (328 Bajtů) Statistiky
| Větev: | Revize:
1
'use strict';
2

    
3
var Assert = require('assert')
4
var Constants = require('./')
5

    
6
try {
7
  var nodeConstants = require('constants')
8

    
9
  Assert.deepEqual(nodeConstants, Constants, 'The constants file was not equal')
10
}
11

    
12
catch (e) {
13
  console.error(e)
14
  console.error('\nTests failed!')
15
  process.exit(1)
16
}
17

    
18
console.info('Tests passed!')
(5-5/5)