Browse Source

Add missing included code

pull/566/head
Clément 4 years ago committed by GitHub
parent
commit
5f45fa049c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      js/tests/block-chain_test.js

5
js/tests/block-chain_test.js

@ -1,3 +1,8 @@
const hashCode = str =>
(
[...str].reduce((h, c) => (h = (h << 5) - h + c.charCodeAt(0)) & h, 0) >>> 0
).toString(36)
// /*/ // ⚡
export const tests = []
const t = (f) => tests.push(f)

Loading…
Cancel
Save