fix(tests): Getting all tests passing

This commit is contained in:
Chris Troutner
2020-12-05 20:42:07 -08:00
parent 3b0ec95fba
commit f5de593f89
6 changed files with 75 additions and 50 deletions
+1 -1
View File
@@ -1140,7 +1140,7 @@ const mockValidateTxid3Valid = [
const mockValidateTxid3Invalid = [
{
txid: "f7e5199ef6669ad4d078093b3ad56e355b6ab84567e59ad0f08a5ad0244f783a",
valid: false
valid: null
}
]
+2 -2
View File
@@ -1964,7 +1964,7 @@ describe("#SLP Utils", () => {
assert2.equal(result[0].txid, txid)
assert2.property(result[0], "valid")
assert2.equal(result[0].valid, false)
assert2.equal(result[0].valid, null)
})
it("should handle a mix of valid, invalid, and non-SLP txs", async () => {
@@ -2031,7 +2031,7 @@ describe("#SLP Utils", () => {
assert2.equal(result[0].txid, txid)
assert2.property(result[0], "valid")
assert2.equal(result[0].valid, false)
assert2.equal(result[0].valid, null)
})
it("should handle an array with a single element", async () => {