1
0
Fork 0
mirror of synced 2024-09-30 09:07:25 +13:00

only prevent rollback in cypress env

This commit is contained in:
Martin McKeaveney 2022-10-07 18:04:18 +01:00
parent 86c48bb70e
commit 270836b30e

View file

@ -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()
} }