Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
group.beforeEach(async () => {
await new Command().emptyDir(path.join(__dirname, './app'))
})
group.after(async () => {
await new Command().removeDir(path.join(__dirname, './app'))
})
group.before(async () => {
ioc.bind('ModelFilter', () => ModelFilter)
await new Command().pathExists(path.join(__dirname, './app'))
})
group.before(async () => {
await new Command().pathExists(path.join(__dirname, './app'))
})
group.after(async () => {
await new Command().removeDir(path.join(__dirname, './app'))
})
group.beforeEach(async () => {
await new Command().emptyDir(path.join(__dirname, './app'))
})