mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 04:05:52 +00:00
convert the rest of the helper files to ts
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
|
||||
const port = 34371;
|
||||
|
||||
const createMockRippled = require('./mock-rippled');
|
||||
|
||||
function main() {
|
||||
if (global.describe) {
|
||||
// we are running inside mocha, exiting
|
||||
return;
|
||||
}
|
||||
console.log('starting server on port ' + port);
|
||||
createMockRippled(port);
|
||||
console.log('starting server on port ' + String(port + 1));
|
||||
createMockRippled(port + 1);
|
||||
}
|
||||
|
||||
main();
|
||||
Reference in New Issue
Block a user