您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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!')