Files
boc/services/frilans-payout/node_modules/thread-stream/test/indexes.test.js
T

12 lines
253 B
JavaScript
Raw Normal View History

'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()
})
}