pokemon-showdown/test/dev-tools/harness.js
Slayer95 72b7e990fd Test: Implement npm run fulltest (#5437)
- Tests flagged with (slow) will no longer be run in `npm test`.
- Travis CI will now run `fulltest`.
- Unskip slow dev-tools tests and flag as such.
2019-04-13 04:38:32 +09:30

13 lines
324 B
JavaScript

'use strict';
const assert = require('assert');
const {MultiRunner} = require('./../../dev-tools/harness');
describe('MultiRunner (slow)', async () => {
it('should run successfully', async () => {
const opts = {totalGames: 1, prng: [1, 2, 3, 4]};
assert.strictEqual(await (new MultiRunner(opts).run()), 0);
});
});