mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
Misc cleanup
This commit is contained in:
parent
890a8767a9
commit
6b500dc0c8
@ -14,11 +14,12 @@ import { NumberHolder } from "#utils/common";
|
|||||||
import { afterEach } from "node:test";
|
import { afterEach } from "node:test";
|
||||||
import { afterAll, beforeAll, describe, expect, it, vi } from "vitest";
|
import { afterAll, beforeAll, describe, expect, it, vi } from "vitest";
|
||||||
|
|
||||||
// Need a function for creating a mock pokemon
|
/**
|
||||||
|
* Parameters for {@linkcode createTestablePokemon}
|
||||||
|
*/
|
||||||
interface MockPokemonParams {
|
interface MockPokemonParams {
|
||||||
|
/** The level to set the Pokémon to */
|
||||||
level: number;
|
level: number;
|
||||||
hasTrainer?: boolean;
|
|
||||||
/**
|
/**
|
||||||
* Whether the pokemon is a boss or not.
|
* Whether the pokemon is a boss or not.
|
||||||
* @defaultValue `false`
|
* @defaultValue `false`
|
||||||
|
Loading…
Reference in New Issue
Block a user