mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-19 19:55:51 +00:00
* sets up linting config and runs `yarn lint --fix` once, so that all changes will show up correctly in future PRs. * Note that there are still a lot of linter errors.
18 lines
389 B
TypeScript
18 lines
389 B
TypeScript
import { createMockRippled } from "./mockRippled";
|
|
|
|
const port = 34371;
|
|
|
|
function main() {
|
|
// @ts-expect-error -- mocha.
|
|
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();
|