UNPKG
mocca
Version:
latest (1.0.3)
1.0.3
1.0.2
1.0.1
1.0.0
0.3.0
0.2.2
0.2.1
0.2.0
0.1.0
Mocha bundled with some awesome plugins
github.com/michaelcontento/mocca
michaelcontento/mocca
mocca
/
bootstrap.js
10 lines
(7 loc)
•
239 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
var
chai =
require
(
'chai'
); chai.
use
(
require
(
'chai-as-promised'
)); chai.
use
(
require
(
'chai-string'
)); chai.
use
(
require
(
'sinon-chai'
));
require
(
'sinon-as-promised'
)(Promise);
global
.should = chai.
should
();
global
.sinon =
require
(
'sinon'
);