Spaces:
Running
Running
File size: 517 Bytes
5c2ed06 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
/**
* Tests for Gen 1 randomized formats
*/
'use strict';
const assert = require('../assert');
const { testTeam } = require('./tools');
describe('[Gen 1] Random Battle (slow)', () => {
const options = { format: 'gen1randombattle' };
const badPokemon = ['Magikarp', 'Weedle', 'Kakuna', 'Caterpie', 'Metapod'];
it(`should not give bad Pokémon as leads (${badPokemon.join(', ')})`, () => {
testTeam(options, team => assert(!badPokemon.includes(team[0].species), `${team[0].species} is a bad lead`));
});
});
|