Add skipped failing event validator tests (#7472)

This commit is contained in:
Leonard Craft III 2020-10-06 18:06:05 -05:00 committed by GitHub
parent 896793c010
commit 2ed8a97ff8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
*********************************************************/