Skip to content

Commit

Permalink
test: update test data with respelling and ipa properties
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Jun 22, 2024
1 parent 3680c2e commit b7dfcf1
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/scenarios/pokemon/getPokemon.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,15 @@ describe('getPokemon', () => {
formeLetter: null,
gender: { female: '12.5%', male: '87.5%' },
height: 1.5,
ipa: '/ɡrɛˈnɪndʒɑː/',
isEggObtainable: true,
backSprite: 'https://play.pokemonshowdown.com/sprites/ani-back/greninja.gif',
levellingRate: 'Medium Slow',
maximumHatchTime: 5396,
minimumHatchTime: 5140,
num: 658,
otherFormes: ['greninjaash'],
respelling: 'greh-NIN-jah',
serebiiPage: 'https://www.serebii.net/pokedex-sv/greninja',
shinyBackSprite: 'https://play.pokemonshowdown.com/sprites/ani-back-shiny/greninja.gif',
shinySprite: 'https://play.pokemonshowdown.com/sprites/ani-shiny/greninja.gif',
Expand Down Expand Up @@ -209,13 +211,15 @@ describe('getPokemon', () => {
formeLetter: null,
gender: { female: '50%', male: '50%' },
height: 3.3,
ipa: null,
isEggObtainable: false,
backSprite: 'https://play.pokemonshowdown.com/sprites/afd-back/missingno.png',
levellingRate: null,
maximumHatchTime: null,
minimumHatchTime: null,
num: 0,
otherFormes: ['m00'],
respelling: null,
serebiiPage: '',
shinyBackSprite: 'https://play.pokemonshowdown.com/sprites/afd-back-shiny/missingno.png',
shinySprite: 'https://play.pokemonshowdown.com/sprites/afd-shiny/missingno.png',
Expand Down Expand Up @@ -281,13 +285,15 @@ describe('getPokemon', () => {
formeLetter: 'H',
gender: { female: '12.5%', male: '87.5%' },
height: 1.6,
ipa: '/taɪˈfloʊʒən/',
isEggObtainable: true,
backSprite: 'https://play.pokemonshowdown.com/sprites/gen5-back/typhlosion-hisui.png',
levellingRate: 'Medium Slow',
maximumHatchTime: 5396,
minimumHatchTime: 5140,
num: 157,
otherFormes: ['typhlosion'],
respelling: 'tie-FLOW-sion',
serebiiPage: 'https://www.serebii.net/pokedex-sv/typhlosion',
shinyBackSprite: 'https://play.pokemonshowdown.com/sprites/gen5-back-shiny/typhlosion-hisui.png',
shinySprite: 'https://play.pokemonshowdown.com/sprites/gen5-shiny/typhlosion-hisui.png',
Expand Down
6 changes: 6 additions & 0 deletions tests/testUtils/full-data-responses/beldum.json
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/beldum_(Pokémon)",
"catchRate": { "base": 3, "percentageWithOrdinaryPokeballAtFullHealth": "1.6%" },
"classification": "Iron Ball Pokémon",
"respelling": "BELL-dum",
"ipa": "/ˈbɛldʌm/",
"color": "Blue",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/beldum.mp3",
Expand Down Expand Up @@ -2070,6 +2072,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/metang_(Pokémon)",
"catchRate": { "base": 3, "percentageWithOrdinaryPokeballAtFullHealth": "1.6%" },
"classification": "Iron Claw Pokémon",
"respelling": "met-TANG",
"ipa": "/mɛˈtæŋ/",
"color": "Blue",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/metang.mp3",
Expand Down Expand Up @@ -12609,6 +12613,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/metagross_(Pokémon)",
"catchRate": { "base": 3, "percentageWithOrdinaryPokeballAtFullHealth": "1.6%" },
"classification": "Iron Leg Pokémon",
"respelling": "MET-uh-gross",
"ipa": "/ˈmɛtəɡroʊs/",
"color": "Blue",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/metagross.mp3",
Expand Down
6 changes: 6 additions & 0 deletions tests/testUtils/full-data-responses/dragonair.json
Original file line number Diff line number Diff line change
Expand Up @@ -9923,6 +9923,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/dragonair_(Pokémon)",
"catchRate": { "base": 45, "percentageWithOrdinaryPokeballAtFullHealth": "11.9%" },
"classification": "Dragon Pokémon",
"respelling": "drag-uh-NAIR",
"ipa": "/dræɡəˈnɛər/",
"color": "Blue",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/dragonair.mp3",
Expand Down Expand Up @@ -19874,6 +19876,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/dragonite_(Pokémon)",
"catchRate": { "base": 45, "percentageWithOrdinaryPokeballAtFullHealth": "11.9%" },
"classification": "Dragon Pokémon",
"respelling": "drag-uh-NITE",
"ipa": "/dræɡəˈnaɪt/",
"color": "Brown",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/dragonite.mp3",
Expand Down Expand Up @@ -29808,6 +29812,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/dratini_(Pokémon)",
"catchRate": { "base": 45, "percentageWithOrdinaryPokeballAtFullHealth": "11.9%" },
"classification": "Dragon Pokémon",
"respelling": "druh-TEE-nee",
"ipa": "/drəˈtiːniː/",
"color": "Blue",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/dratini.mp3",
Expand Down
18 changes: 18 additions & 0 deletions tests/testUtils/full-data-responses/eevee.json
Original file line number Diff line number Diff line change
Expand Up @@ -10122,6 +10122,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/eevee_(Pokémon)",
"catchRate": { "base": 45, "percentageWithOrdinaryPokeballAtFullHealth": "11.9%" },
"classification": "Evolution Pokémon",
"respelling": "EE-vee",
"ipa": "/ˈiːviː/",
"color": "Brown",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/eevee.mp3",
Expand Down Expand Up @@ -20211,6 +20213,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/vaporeon_(Pokémon)",
"catchRate": { "base": 45, "percentageWithOrdinaryPokeballAtFullHealth": "11.9%" },
"classification": "Bubble Jet Pokémon",
"respelling": "vay-POR-ey-on",
"ipa": "/veɪˈpɔːreɪɒn/",
"color": "Blue",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/vaporeon.mp3",
Expand Down Expand Up @@ -30314,6 +30318,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/jolteon_(Pokémon)",
"catchRate": { "base": 45, "percentageWithOrdinaryPokeballAtFullHealth": "11.9%" },
"classification": "Lightning Pokémon",
"respelling": "JOLT-e-on",
"ipa": "/ˈdʒɒltɛɒn/",
"color": "Yellow",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/jolteon.mp3",
Expand Down Expand Up @@ -40405,6 +40411,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/flareon_(Pokémon)",
"catchRate": { "base": 45, "percentageWithOrdinaryPokeballAtFullHealth": "11.9%" },
"classification": "Flame Pokémon",
"respelling": "FLARE-ae-on",
"ipa": "/ˈflɛəreɪɒn/",
"color": "Red",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/flareon.mp3",
Expand Down Expand Up @@ -50521,6 +50529,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/espeon_(Pokémon)",
"catchRate": { "base": 45, "percentageWithOrdinaryPokeballAtFullHealth": "11.9%" },
"classification": "Sun Pokémon",
"respelling": "ESS-pee-on",
"ipa": "/ˈɛspiːɒn/",
"color": "Purple",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/espeon.mp3",
Expand Down Expand Up @@ -60623,6 +60633,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/umbreon_(Pokémon)",
"catchRate": { "base": 45, "percentageWithOrdinaryPokeballAtFullHealth": "11.9%" },
"classification": "Moonlight Pokémon",
"respelling": "UMM-bree-on",
"ipa": "/ˈʌmbriːɒn/",
"color": "Black",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/umbreon.mp3",
Expand Down Expand Up @@ -70714,6 +70726,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/leafeon_(Pokémon)",
"catchRate": { "base": 45, "percentageWithOrdinaryPokeballAtFullHealth": "11.9%" },
"classification": "Verdant Pokémon",
"respelling": "LEEF-ee-on",
"ipa": "/ˈliːfiːɒn/",
"color": "Green",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/leafeon.mp3",
Expand Down Expand Up @@ -80816,6 +80830,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/glaceon_(Pokémon)",
"catchRate": { "base": 45, "percentageWithOrdinaryPokeballAtFullHealth": "11.9%" },
"classification": "Fresh Snow Pokémon",
"respelling": "GLACE-ee-on",
"ipa": "/ˈɡleɪsiːɒn/",
"color": "Blue",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/glaceon.mp3",
Expand Down Expand Up @@ -90907,6 +90923,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/sylveon_(Pokémon)",
"catchRate": { "base": 45, "percentageWithOrdinaryPokeballAtFullHealth": "11.9%" },
"classification": "Intertwining Pokémon",
"respelling": "SIL-vee-on",
"ipa": "/ˈsɪlviːɒn/",
"color": "Pink",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/sylveon.mp3",
Expand Down
4 changes: 4 additions & 0 deletions tests/testUtils/full-data-responses/rattata-alola.json
Original file line number Diff line number Diff line change
Expand Up @@ -1912,6 +1912,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/rattata_(Pokémon)",
"catchRate": { "base": 255, "percentageWithOrdinaryPokeballAtFullHealth": "43.9%" },
"classification": null,
"respelling": "uh-LO-luhn RA-TAT-ta",
"ipa": "/əˈloʊlən ˌræˈtætæ/",
"color": "Black",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/rattata.mp3",
Expand Down Expand Up @@ -3845,6 +3847,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/raticate_(Pokémon)",
"catchRate": { "base": 127, "percentageWithOrdinaryPokeballAtFullHealth": "26%" },
"classification": null,
"respelling": "uh-LO-luhn RAT-ih-kate",
"ipa": "/əˈloʊlən ˈrætɪkeɪt/",
"color": "Black",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/raticate.mp3",
Expand Down
6 changes: 6 additions & 0 deletions tests/testUtils/full-data-responses/salamence.json
Original file line number Diff line number Diff line change
Expand Up @@ -10928,6 +10928,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/salamence_(Pokémon)",
"catchRate": { "base": 45, "percentageWithOrdinaryPokeballAtFullHealth": "11.9%" },
"classification": "Dragon Pokémon",
"respelling": "SAL-uh-mence",
"ipa": "/ˈsæləmɛns/",
"color": "Blue",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/salamence.mp3",
Expand Down Expand Up @@ -21846,6 +21848,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/shelgon_(Pokémon)",
"catchRate": { "base": 45, "percentageWithOrdinaryPokeballAtFullHealth": "11.9%" },
"classification": "Endurance Pokémon",
"respelling": "SHELL-gon",
"ipa": "/ˈʃɛlɡɒn/",
"color": "White",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/shelgon.mp3",
Expand Down Expand Up @@ -29934,6 +29938,8 @@
"bulbapediaPage": "https://bulbapedia.bulbagarden.net/wiki/bagon_(Pokémon)",
"catchRate": { "base": 45, "percentageWithOrdinaryPokeballAtFullHealth": "11.9%" },
"classification": "Rock Head Pokémon",
"respelling": "BAY-gon",
"ipa": "/ˈbeɪɡɒn/",
"color": "Blue",
"cosmeticFormes": null,
"cry": "https://play.pokemonshowdown.com/audio/cries/bagon.mp3",
Expand Down
4 changes: 4 additions & 0 deletions tests/testUtils/full-data-responses/syclar.json
Original file line number Diff line number Diff line change
Expand Up @@ -5099,6 +5099,8 @@
"bulbapediaPage": "",
"catchRate": { "base": 0, "percentageWithOrdinaryPokeballAtFullHealth": "0%" },
"classification": null,
"respelling": null,
"ipa": null,
"color": "Blue",
"cosmeticFormes": null,
"cry": null,
Expand Down Expand Up @@ -10205,6 +10207,8 @@
"bulbapediaPage": "",
"catchRate": { "base": 0, "percentageWithOrdinaryPokeballAtFullHealth": "0%" },
"classification": null,
"respelling": null,
"ipa": null,
"color": "Blue",
"cosmeticFormes": null,
"cry": null,
Expand Down

0 comments on commit b7dfcf1

Please sign in to comment.