strong-tie/inbound-calls
0
1'use strict'2 3const { test } = require('node:test')4const noopSet = require('../lib/noop-set')5 6test('does a lot of nothing', async t => {7 const aSet = noopSet()8 t.assert.ok(aSet, 'object')9 10 const item = {}11 aSet.add(item)12 aSet.add({ another: 'item' })13 aSet.delete(item)14 t.assert.strictEqual(aSet.has(item), true)15 16 for (const i of aSet) {17 t.assert.fail('should not have any items: ' + i)18 }19})20 