mjolnir/test/integration/manualLaunchScript.ts

13 lines
382 B
TypeScript
Raw Normal View History

/**
* This file is used to launch mjolnir for manual testing, creating a user and management room automatically if it doesn't already exist.
*/
import { makeMjolnir } from "./mjolnirSetupUtils";
2022-08-10 13:14:12 +00:00
import { read as config_read } from '../../src/config';
(async () => {
2022-08-10 13:14:12 +00:00
const config = config_read();
let mjolnir = await makeMjolnir(config);
await mjolnir.start();
})();