mirror of
https://github.com/Permissionless-Software-Foundation/bch-js.git
synced 2026-09-21 16:51:59 -07:00
fix(tests): Getting all tests passing
This commit is contained in:
@@ -1140,7 +1140,7 @@ const mockValidateTxid3Valid = [
|
||||
const mockValidateTxid3Invalid = [
|
||||
{
|
||||
txid: "f7e5199ef6669ad4d078093b3ad56e355b6ab84567e59ad0f08a5ad0244f783a",
|
||||
valid: false
|
||||
valid: null
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user