diff --git a/test/@types/vitest.d.ts b/test/@types/vitest.d.ts
index a8fb92fa09c..3ffd19219c0 100644
--- a/test/@types/vitest.d.ts
+++ b/test/@types/vitest.d.ts
@@ -66,7 +66,7 @@ declare module "vitest" {
/**
* Check whether the current {@linkcode Arena} contains the given {@linkcode PositionalTag}.
- * @param expectedTag - A partially-filled {@linkcode PositionalTag} containing the desired properties
+ * @param expectedTag - A partially-filled `PositionalTag` containing the desired properties
*/
toHavePositionalTag
(expectedTag: toHavePositionalTagOptions
): void;
/**
@@ -83,17 +83,16 @@ declare module "vitest" {
/**
* Check whether a {@linkcode Pokemon}'s current typing includes the given types.
- * @param expectedTags - The expected {@linkcode PokemonType}s to check against; must have length `>0`
+ * @param expectedTypes - The expected {@linkcode PokemonType}s to check against; must have length `>0`
* @param options - The {@linkcode toHaveTypesOptions | options} passed to the matcher
*/
- toHaveTypes(expectedTags: PokemonType[], options?: toHaveTypesOptions): void;
+ toHaveTypes(expectedTypes: PokemonType[], options?: toHaveTypesOptions): void;
/**
* Check whether a {@linkcode Pokemon} has used a move matching the given criteria.
* @param expectedMove - The {@linkcode MoveId} the Pokemon is expected to have used,
* or a partially filled {@linkcode TurnMove} containing the desired properties to check
- * @param index - The index of the move history entry to check, in order from most recent to least recent.
- * Default `0` (last used move)
+ * @param index - The index of the move history entry to check, in order from most recent to least recent; default `0`
* @see {@linkcode Pokemon.getLastXMoves}
*/
toHaveUsedMove(expectedMove: MoveId | AtLeastOne, index?: number): void;
@@ -131,7 +130,7 @@ declare module "vitest" {
/**
* Check whether a {@linkcode Pokemon} has applied a specific {@linkcode AbilityId}.
- * @param expectedAbilityId - The expected {@linkcode AbilityId} to check for
+ * @param expectedAbilityId - The `AbilityId` to check for
*/
toHaveAbilityApplied(expectedAbilityId: AbilityId): void;
@@ -144,15 +143,15 @@ declare module "vitest" {
/**
* Check whether a {@linkcode Pokemon} has taken a specific amount of damage.
* @param expectedDamageTaken - The expected amount of damage taken
- * @param roundDown - Whether to round down {@linkcode expectedDamageTaken} with {@linkcode toDmgValue}; default `true`
+ * @param roundDown - Whether to round down `expectedDamageTaken` with {@linkcode toDmgValue}; default `true`
*/
toHaveTakenDamage(expectedDamageTaken: number, roundDown?: boolean): void;
/**
* Check whether a {@linkcode Pokemon} is currently fainted (as determined by {@linkcode Pokemon.isFainted}).
* @remarks
- * When checking whether an enemy wild Pokemon is fainted, one must store a reference to it in a variable _before_ the fainting effect occurs,
- * as otherwise the Pokemon will be removed from the field and garbage collected.
+ * When checking whether an enemy wild Pokemon is fainted, one must store a reference to it in a variable _before_ the fainting effect occurs.
+ * Otherwise, the Pokemon will be removed from the field and garbage collected.
*/
toHaveFainted(): void;
@@ -162,15 +161,15 @@ declare module "vitest" {
toHaveFullHp(): void;
/**
* Check whether a {@linkcode Pokemon} has consumed the given amount of PP for one of its moves.
- * @param moveId - The {@linkcode MoveId} of the {@linkcode PokemonMove} that should have consumed PP
+ * @param moveId - The `MoveId` corresponding to the {@linkcode PokemonMove} that should have consumed PP
* @param ppUsed - The numerical amount of PP that should have been consumed,
* or `all` to indicate the move should be _out_ of PP
* @remarks
* If the Pokemon's moveset has been set via {@linkcode Overrides.MOVESET_OVERRIDE}/{@linkcode Overrides.OPP_MOVESET_OVERRIDE}
- * or does not contain exactly 1 copy of {@linkcode moveId}, this will fail the test.
+ * or does not contain exactly one copy of {@linkcode moveId}, this will fail the test.
*/
toHaveUsedPP(moveId: MoveId, ppUsed: number | "all"): void;
- // #region Pokemon Matchers
+ // #endregion Pokemon Matchers
}
}
diff --git a/test/test-utils/matchers/to-have-arena-tag.ts b/test/test-utils/matchers/to-have-arena-tag.ts
index 2d03711fd46..fe9e2a05605 100644
--- a/test/test-utils/matchers/to-have-arena-tag.ts
+++ b/test/test-utils/matchers/to-have-arena-tag.ts
@@ -17,7 +17,7 @@ export type toHaveArenaTagOptions = OneOther(
};
}
- // Pass if any of the matching tags meet our criteria
+ // Pass if any of the matching tags meet the criteria
const pass = matchingTags.some(tag =>
this.equals(tag, expectedTag, [...this.customTesters, this.utils.subsetEquality, this.utils.iterableEquality]),
);
diff --git a/test/test-utils/matchers/to-have-types.ts b/test/test-utils/matchers/to-have-types.ts
index ce72571ee2f..14a1e33ef4a 100644
--- a/test/test-utils/matchers/to-have-types.ts
+++ b/test/test-utils/matchers/to-have-types.ts
@@ -24,7 +24,7 @@ export interface toHaveTypesOptions {
}
/**
- * Matcher that checks if a {@linkcode Pokemon}'s typing is as expected.
+ * Matcher that checks if a Pokemon's typing is as expected.
* @param received - The object to check. Should be a {@linkcode Pokemon}
* @param expectedTypes - An array of one or more {@linkcode PokemonType}s to compare against.
* @param mode - The mode to perform the matching;