UNPKG
node-schema
Version:
latest (2.2.0)
2.2.0
2.1.0
2.0.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A package for building javascript object schemas
github.com/theadam/node-schema
theadam/node-schema
node-schema
/
test
/
shared.js
8 lines
(6 loc)
•
225 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
require
(
'es6-promise'
).
polyfill
();
global
.chai =
require
(
'chai'
);
global
.should =
require
(
'chai'
).
should
();
global
.expect =
require
(
'chai'
).expect;
var
chaiAsPromised =
require
(
"chai-as-promised"
); chai.
use
(chaiAsPromised);