Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
"prepublishOnly": "pnpm build:prod"
},
"ts-standard": {
- "globals": ["describe", "it", "before", "after", "beforeEach", "afterEach"]
+ "globals": ["describe", "it", "after", "before", "afterEach", "beforeEach"]
},
"engines": {
"node": ">=16.14.0",
import { expect } from 'expect'
-import { restore } from 'sinon'
import { FixedThreadPool } from '../../../lib/index.js'
import { WeightedRoundRobinWorkerChoiceStrategy } from '../../../lib/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.js'
import { generateRandomInteger } from '../../test-utils.js'
)
})
- afterEach(() => {
- restore()
- })
-
after(async () => {
await pool.destroy()
})