Bump jest from 26.6.3 to 27.0.3 (#350) [skip ci]
This commit is contained in:
@@ -68,20 +68,18 @@ placeholder.run = async vars => {
|
||||
}
|
||||
|
||||
//Setup
|
||||
beforeAll(async done => {
|
||||
beforeAll(async () => {
|
||||
//Clean community template
|
||||
await fs.promises.rmdir(path.join(__dirname, "../source/templates/@classic"), { recursive: true })
|
||||
//Start web instance
|
||||
await web.start()
|
||||
done()
|
||||
})
|
||||
//Teardown
|
||||
afterAll(async done => {
|
||||
afterAll(async () => {
|
||||
//Stop web instance
|
||||
await web.stop()
|
||||
//Clean community template
|
||||
await fs.promises.rmdir(path.join(__dirname, "../source/templates/@classic"), { recursive: true })
|
||||
done()
|
||||
})
|
||||
|
||||
//Load metadata (as jest doesn't support ESM modules, we use this dirty hack)
|
||||
|
||||
Reference in New Issue
Block a user