1
0
Fork 0
out-of-your-element-fork-th.../matrix/txnid.test.js

13 lines
251 B
JavaScript
Raw Normal View History

2023-08-24 05:23:32 +00:00
// @ts-check
const {test} = require("supertape")
const txnid = require("./txnid")
test("txnid: generates different values each run", t => {
const one = txnid.makeTxnId()
t.ok(one)
const two = txnid.makeTxnId()
t.ok(two)
t.notEqual(two, one)
})