From a4698a52cbefca817a3ce3bfbf4ae4bd41d9df3e Mon Sep 17 00:00:00 2001 From: Kirk Scheibelhut Date: Fri, 15 Nov 2019 14:45:21 -0800 Subject: [PATCH] Reenable ExhaustiveRunner test with workaround --- sim/tools/exhaustive-runner.ts | 1 + test/sim/tools/exhaustive-runner.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sim/tools/exhaustive-runner.ts b/sim/tools/exhaustive-runner.ts index f95d2374bd..f5c8887bbb 100644 --- a/sim/tools/exhaustive-runner.ts +++ b/sim/tools/exhaustive-runner.ts @@ -71,6 +71,7 @@ export class ExhaustiveRunner { async run() { const dex = Dex.forFormat(this.format); + dex.loadData(); // FIXME: This is required for `dex.gen` to be set properly... const seed = this.prng.seed; const pools = this.createPools(dex); diff --git a/test/sim/tools/exhaustive-runner.js b/test/sim/tools/exhaustive-runner.js index 9cbcaf5c29..efe78fc5b1 100644 --- a/test/sim/tools/exhaustive-runner.js +++ b/test/sim/tools/exhaustive-runner.js @@ -5,7 +5,7 @@ const assert = require('assert'); const {ExhaustiveRunner} = require('../../../.sim-dist/tools/exhaustive-runner'); describe('ExhaustiveRunner (slow)', async function () { - it.skip('should run successfully', async function () { + it('should run successfully', async function () { this.timeout(0); const opts = {prng: [1, 2, 3, 4]}; for (let format of ExhaustiveRunner.FORMATS) {