mirror of
https://github.com/cupcakearmy/occulto.git
synced 2026-04-02 20:15:29 +00:00
add tests for binary
This commit is contained in:
@@ -6,3 +6,10 @@ export class Promises {
|
||||
} catch {}
|
||||
}
|
||||
}
|
||||
|
||||
export function compareArrayLike(a, b) {
|
||||
chai.expect(a.length).to.equal(b.length)
|
||||
for (let i = 0; i < a.length; i++) {
|
||||
chai.expect(a[i]).to.equal(b[i])
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user