mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-10-29 04:04:47 +01:00
* remove unused packages * update lock package * try with paypal-rest-sdk 1.7.1 * setup nconf
23 lines
671 B
JavaScript
23 lines
671 B
JavaScript
/* eslint-disable no-undef */
|
|
/* eslint-disable global-require */
|
|
/* eslint-disable no-process-env */
|
|
|
|
import Bluebird from 'bluebird';
|
|
|
|
//------------------------------
|
|
// Global modules
|
|
//------------------------------
|
|
global._ = require('lodash');
|
|
global.chai = require('chai');
|
|
chai.use(require('sinon-chai'));
|
|
chai.use(require('chai-as-promised'));
|
|
global.expect = chai.expect;
|
|
global.sinon = require('sinon');
|
|
let sinonStubPromise = require('sinon-stub-promise');
|
|
sinonStubPromise(global.sinon);
|
|
global.sandbox = sinon.sandbox.create();
|
|
global.Promise = Bluebird;
|
|
|
|
import setupNconf from '../../website/server/libs/setupNconf';
|
|
setupNconf('./config.json.example');
|