authelia/scripts/setup-environment.ts

11 lines
194 B
TypeScript

var { setup } = require(`../test/suites/${process.argv[2]}/environment`);
(async function() {
try {
await setup();
} catch(err) {
console.error(err);
process.exit(1);
}
})()