my-idlers/node_modules/constants-browserify/test.js
cp6 fd22b0bf58 V2 (Laravel re-make)
V2 (Laravel re-make)
2022-03-06 02:02:12 +11:00

19 lines
328 B
JavaScript
Vendored

'use strict';
var Assert = require('assert')
var Constants = require('./')
try {
var nodeConstants = require('constants')
Assert.deepEqual(nodeConstants, Constants, 'The constants file was not equal')
}
catch (e) {
console.error(e)
console.error('\nTests failed!')
process.exit(1)
}
console.info('Tests passed!')