You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

test.js 328B

123456789101112131415161718
  1. 'use strict';
  2. var Assert = require('assert')
  3. var Constants = require('./')
  4. try {
  5. var nodeConstants = require('constants')
  6. Assert.deepEqual(nodeConstants, Constants, 'The constants file was not equal')
  7. }
  8. catch (e) {
  9. console.error(e)
  10. console.error('\nTests failed!')
  11. process.exit(1)
  12. }
  13. console.info('Tests passed!')