mirror of
https://github.com/strapi/strapi.git
synced 2025-12-29 08:04:51 +00:00
ignore strapi.destroy error in test
This commit is contained in:
parent
3ae6cb8678
commit
298bb0d573
@ -67,7 +67,11 @@ describe('Migration - draft and publish', () => {
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
await strapi.destroy();
|
||||
try {
|
||||
await strapi.destroy();
|
||||
} catch (e) {
|
||||
// ignore destroy errors
|
||||
}
|
||||
await builder.cleanup();
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user