mihrab / node_modules /thread-stream /test /indexes.test.js
abedelbahnasy55's picture
fix: public habits endpoint + seedDemoUser + fresh build v1.6
6491ad4 verified
Raw
History Blame Contribute Delete
253 Bytes
'use strict'
const { test } = require('tap')
const indexes = require('../lib/indexes')
for (const index of Object.keys(indexes)) {
test(`${index} is lock free`, function (t) {
t.equal(Atomics.isLockFree(indexes[index]), true)
t.end()
})
}