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