authelia/scripts/clean-environment.ts

8 lines
250 B
TypeScript
Raw Normal View History

var ListSuites = require('./utils/ListSuites');
const suites = ListSuites();
suites.forEach(async (suite: string) => {
var { teardown } = require(`../test/suites/${suite}/environment`);;
teardown().catch((err: Error) => console.error(err));
});