mjolnir/test/integration/manualLaunchScript.ts

13 lines
380 B
TypeScript
Raw Permalink 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";
import { read as configRead } from '../../src/config';
(async () => {
const config = configRead();
let mjolnir = await makeMjolnir(config);
await mjolnir.start();
})();