Files
infocom-systems-design/node_modules/thread-stream/test/indexes.test.js
2025-10-03 22:27:28 +03:00

12 lines
253 B
JavaScript

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