pokemon-showdown/test/dev-tools/smoke.js
2019-04-07 08:34:43 -07:00

13 lines
346 B
JavaScript

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