mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-07 02:28:54 +08:00
restore methods on Schema tests
This commit is contained in:
@@ -170,5 +170,8 @@ describe('Schema.vue', () => {
|
|||||||
|
|
||||||
await $db.loadDb.returnValues[0]
|
await $db.loadDb.returnValues[0]
|
||||||
expect(mutations.saveSchema.calledOnceWith(state, newSchema)).to.equal(true)
|
expect(mutations.saveSchema.calledOnceWith(state, newSchema)).to.equal(true)
|
||||||
|
|
||||||
|
$db.loadDb.restore()
|
||||||
|
fu.getFileFromUser.restore()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user