Commit Graph

11 Commits

Author SHA1 Message Date
ShivaD173
13578bce64 Add test for an Eject Pack interaction (#10704) 2025-05-28 17:22:01 -07:00
André Bastos Dias
3db46c58eb Implement White Herb and Eject Pack like Mirror Herb (#10890)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-15 11:39:46 -07:00
Guangcong Luo
78439b4a02 Update to ESLint 9 (#10926)
ESLint has a whole new config format, so I figure it's a good time to
make the config system saner.

- First, we no longer have separate eslint-no-types configs. Lint
  performance shouldn't be enough of a problem to justify the
  relevant maintenance complexity.

- Second, our base config should work out-of-the-box now. `npx eslint`
  will work as expected, without any CLI flags. You should still use
  `npm run lint` which adds the `--cached` flag for performance.

- Third, whatever updates I did fixed style linting, which apparently
  has been bugged for quite some time, considering all the obvious
  mixed-tabs-and-spaces issues I found in the upgrade.

Also here are some changes to our style rules. In particular:

- Curly brackets (for objects etc) now have spaces inside them. Sorry
  for the huge change. ESLint doesn't support our old style, and most
  projects use Prettier style, so we might as well match them in this way.
  See https://github.com/eslint-stylistic/eslint-stylistic/issues/415

- String + number concatenation is no longer allowed. We now
  consistently use template strings for this.
2025-02-25 20:03:46 -08:00
André Bastos Dias
310865a6f7 Unskip tests (#10888) 2025-02-12 13:41:42 -07:00
pyuk-bot
7bb2fd1869 Overhaul 'SwitchIn' event for more accurate effect resolution order (#10766) 2025-01-28 16:51:17 -06:00
Leonard Craft III
ba07a7c75d Add various mechanics tests (#8494) 2021-11-05 13:28:45 -05:00
Leonard Craft III
b9363ef707 Tests: unskip oldgen Fury Cutter, improve readability 2020-12-22 23:21:31 -06:00
Leonard Craft III
5e320c337c Add additional Eject Pack tests (#6453) 2020-03-17 20:38:19 -07:00
Alexander B
88fa845350 Add Gen 8 unit tests
Closes #5952

(Bugs in PR fixed by Zarel)
2020-02-21 00:46:28 -08:00
Guangcong Luo
229f5f809d Use assert in strict mode
This makes it so we can use `assert.equal` instead of
`assert.strictEqual`, which I think is more readable.
2020-02-20 00:39:31 -08:00
Guangcong Luo
1914a37aba Fix Eject Pack to activate for self-boosting 2020-02-11 11:16:46 -08:00