mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-15 08:50:10 -05:00
Add skipped failing event validator tests (#7472)
This commit is contained in:
parent
896793c010
commit
2ed8a97ff8
|
|
@ -528,6 +528,32 @@ describe('Team Validator', function () {
|
|||
assert(illegal);
|
||||
});
|
||||
|
||||
it.skip('should not allow evolutions of Shiny-locked events to be Shiny', function () {
|
||||
const team = [
|
||||
{species: 'urshifu', ability: 'unseenfist', shiny: true, moves: ['snore'], evs: {hp: 1}},
|
||||
{species: 'cosmoem', ability: 'sturdy', shiny: true, moves: ['teleport'], evs: {hp: 1}},
|
||||
];
|
||||
const illegal = TeamValidator.get('gen8anythinggoes').validateTeam(team);
|
||||
assert(illegal);
|
||||
});
|
||||
|
||||
it.skip('should not allow unreleased Gmax formes', function () {
|
||||
const team = [
|
||||
{species: 'melmetal-gmax', ability: 'ironfist', moves: ['doubleironbash'], evs: {hp: 1}},
|
||||
];
|
||||
const illegal = TeamValidator.get('gen8anythinggoes').validateTeam(team);
|
||||
assert(illegal);
|
||||
});
|
||||
|
||||
it.skip('should not allow events to use moves only obtainable in a previous generation', function () {
|
||||
const team = [
|
||||
{species: 'zeraora', ability: 'voltabsorb', shiny: true, moves: ['knockoff'], evs: {hp: 1}},
|
||||
];
|
||||
const illegal = TeamValidator.get('gen8anythinggoes').validateTeam(team);
|
||||
assert(illegal);
|
||||
});
|
||||
|
||||
|
||||
/*********************************************************
|
||||
* Custom rules
|
||||
*********************************************************/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user