• File: indexes.test.js
  • Full Path: /var/www/nodejs/simo_meps_file_script/node_modules/thread-stream/test/indexes.test.js
  • Date Modified: 02/28/2025 8:55 PM
  • File size: 253 bytes
  • MIME-type: text/plain
  • Charset: utf-8
'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()
  })
}