dgate 2.1.0

DGate API Gateway - High-performance API gateway with JavaScript module support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
This file tells the Mocha tests what build of Cytoscape to use.
*/

// For Travis or manual build tests, use the CJS build
// NB : Must do `npm run build:cjs` before `npm test`
if( process.env.TRAVIS || process.env.TEST_BUILD ){
  module.exports = require('../build/cytoscape.cjs.js');

// Otherwise use the unbundled, unbabelified, raw source
// NB : Must use a version of Node that natively supports all JS features used in the lib
} else {
  module.exports = require('./index.js').default;
}