deb
This commit is contained in:
parent
bea69f9819
commit
375c5b4faa
1 changed files with 2 additions and 0 deletions
|
|
@ -111,8 +111,10 @@ export const safelySetUserBalance = async (T: TestBase, user: TestUserData, amou
|
||||||
}
|
}
|
||||||
|
|
||||||
export const runSanityCheck = async (T: TestBase) => {
|
export const runSanityCheck = async (T: TestBase) => {
|
||||||
|
T.main.storage.dbs.setDebug(true)
|
||||||
const sanityChecker = new SanityChecker(T.main.storage, T.main.lnd)
|
const sanityChecker = new SanityChecker(T.main.storage, T.main.lnd)
|
||||||
await sanityChecker.VerifyEventsLog()
|
await sanityChecker.VerifyEventsLog()
|
||||||
|
T.main.storage.dbs.setDebug(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
export const expectThrowsAsync = async (promise: Promise<any>, errorMessage?: string) => {
|
export const expectThrowsAsync = async (promise: Promise<any>, errorMessage?: string) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue