mjolnir/test/integration/manualLaunchScript.ts

13 lines
380 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 15:20:22 +00:00
import { read as configRead } from '../../src/config';
(async () => {
2022-08-10 15:20:22 +00:00
const config = configRead();
let mjolnir = await makeMjolnir(config);
await mjolnir.start();
})();