feat: init
This commit is contained in:
18
node_modules/replace-in-file/test/helpers/setup.js
generated
vendored
Normal file
18
node_modules/replace-in-file/test/helpers/setup.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
'use strict';
|
||||
|
||||
//Load dependencies
|
||||
const Promise = require('bluebird');
|
||||
const chai = require('chai');
|
||||
const dirtyChai = require('dirty-chai');
|
||||
const chaiAsPromised = require('chai-as-promised');
|
||||
|
||||
//Enable should assertion style for usage with chai-as-promised
|
||||
chai.should();
|
||||
|
||||
//Extend chai
|
||||
chai.use(dirtyChai);
|
||||
chai.use(chaiAsPromised);
|
||||
|
||||
//Expose globals
|
||||
global.Promise = Promise;
|
||||
global.expect = chai.expect;
|
||||
Reference in New Issue
Block a user