aswi2020vldc-gitlab/templetes/node_modules/constants-browserify/test.js @ 14917d37
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!') |
- « Předchozí
- 1
- …
- 3
- 4
- 5
- Další »