Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
18
Frontend-Learner/node_modules/replace-in-file/test/helpers/setup.js
generated
vendored
Normal file
18
Frontend-Learner/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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue