mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-25 03:05:50 -05:00
This makes it so we can use `assert.equal` instead of `assert.strictEqual`, which I think is more readable.
14 lines
395 B
JavaScript
14 lines
395 B
JavaScript
'use strict';
|
|
|
|
const assert = require('assert').strict;
|
|
|
|
const {MultiRandomRunner} = require('../../../.sim-dist/tools/multi-random-runner');
|
|
|
|
describe('MultiRandomRunner (slow)', async function () {
|
|
it('should run successfully', async function () {
|
|
this.timeout(0);
|
|
const opts = {totalGames: 100, prng: [1, 2, 3, 4]};
|
|
assert.equal(await (new MultiRandomRunner(opts).run()), 0);
|
|
});
|
|
});
|