pokemon-showdown/test/sim/misc
Guangcong Luo a65faf263f
Stop using assert.strict.strictEqual (#7515)
It turns out that when I switched us from `assert` to `assert.strict`,
I didn't actually update any existing tests or tell anyone:

0df0d234f2

So apparently everyone else just kept on using `strictEqual`.

This will be a PR and also throw an error if people continue trying to
use it, which should make it much clearer what PS policy is on this.

A lot of the problem may be that TypeScript marks assert.strict.equal
as deprecated when it's not. This was fixed 4 days ago:

https://github.com/DefinitelyTyped/DefinitelyTyped/pull/48452

But this probably hasn't made it to a thing yet. Until then, you'll
have to deal with TS marking your tests as deprecated, but it shouldn't
be too long.

Accidentally using `assert` instead of `assert.strict` should now show
an error. This protects against the probably much worse mistake of
accidentally using `assert.equal` rather than `assert.strict.equal`.

`assert.ok` is also deprecated now.
2020-10-14 01:19:03 -07:00
..
arceus.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
critical.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
dynamax.js Handle Gigantamaxing properly (#7001) 2020-07-23 13:27:42 -07:00
endlessbattleclause.js Remove EBC staleness from abilities upon switching 2020-08-17 12:59:10 -07:00
faint-order.js Stop using assert.strict.strictEqual (#7515) 2020-10-14 01:19:03 -07:00
fusion-combo.js Fix Fusion Bolt + Fusion Flare interaction when first move fails (#6991) 2020-07-10 16:29:53 -07:00
inversebattle.js Stop using assert.strict.strictEqual (#7515) 2020-10-14 01:19:03 -07:00
megaevolution.js Fix mega evolving into self 2020-04-07 10:56:19 -07:00
mixandmega.js Refactor test formats 2019-12-11 03:41:36 +09:00
pledgemoves.js Handle Gigantamaxing properly (#7001) 2020-07-23 13:27:42 -07:00
prng.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
random-teams.js Turn on prefer-const for .js files 2020-04-23 11:37:47 -07:00
recoil.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
silvally.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
sleepclausemod.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
state.js Normal |t:| protocol message in Runner's DualStream 2020-07-21 13:35:53 -07:00
statuses.js Turn on prefer-const for .js files 2020-04-23 11:37:47 -07:00
statusmoves.js Stop using assert.strict.strictEqual (#7515) 2020-10-14 01:19:03 -07:00
target-resolution.js Add various mechanics tests (#6714) 2020-05-18 12:19:18 -07:00
trapmoves.js Turn on prefer-const for .js files 2020-04-23 11:37:47 -07:00
turn-order.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
typechange.js Stop using assert.strict.strictEqual (#7515) 2020-10-14 01:19:03 -07:00
weather.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
weight.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
zmoves.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30