only prevent rollback in cypress env
This commit is contained in:
parent
ba50fa56b6
commit
4e04fc84b2
|
@ -103,7 +103,7 @@ exports.revert = async ctx => {
|
||||||
target: appId,
|
target: appId,
|
||||||
})
|
})
|
||||||
try {
|
try {
|
||||||
if (!env.isTest()) {
|
if (!env.isCypress()) {
|
||||||
// in-memory db stalls on rollback
|
// in-memory db stalls on rollback
|
||||||
await replication.rollback()
|
await replication.rollback()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue