Skip to content

chore(deps): Bump axios from 0.24.0 to 1.6.0 #252

chore(deps): Bump axios from 0.24.0 to 1.6.0

chore(deps): Bump axios from 0.24.0 to 1.6.0 #252

GitHub Actions / JEST Tests succeeded Nov 10, 2023 in 0s

JEST Tests ✅

Tests passed successfully

✅ reports/jest-unit.xml

270 tests were completed in 6s with 270 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
src/entity/character/tests/CharacterFactory.test.ts 213✅ 6s
src/entity/character/attribute/class/tests/Class.test.ts 27✅ 4s
src/entity/creature/tests/CreatureFactory.test.ts 6✅ 694ms
src/entity/world/tests/Worlds.test.ts 24✅ 1s

✅ src/entity/character/tests/CharacterFactory.test.ts

CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll
  ✅ should evaluate id as '11886902'
  ✅ should evaluate name as 'P'tajha Rihll'
  ✅ should evaluate homeWorld as 'Cerberus'
  ✅ should evaluate dataCenter as 'Chaos'
  ✅ should evaluate race as 'Elezen'
  ✅ should evaluate clan as 'Wildwood'
  ✅ should evaluate gender as 'Female'
  ✅ should evaluate nameDay as '29th Sun of the 3rd Astral Moon'
  ✅ should evaluate guardian as 'Thaliak, the Scholar'
  ✅ should evaluate grandCompany as 'Order of the Twin Adder'
  ✅ should evaluate grandCompanyRank as 'First Serpent Lieutenant'
  ✅ should evaluate activeClass as 'CNJ'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate freeCompany as object › with key id, an object
  ✅ with key id equal to 9234631035923259083
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate freeCompany as object › with key name, an object
  ✅ with key name equal to Archadian Moogles
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate gear as object › with key arm, an object
  ✅ with key category equal to 'Arm'
  ✅ with key name equal to 'Exarchic Cane'
  ✅ with key id equal to '8aa1be1728a?hq=1'
  ✅ with key iLvl equal to '510'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate gear as object › with key head, an object
  ✅ with key category equal to 'Head'
  ✅ with key name equal to 'Exarchic Circlet of Healing'
  ✅ with key id equal to '5fffa0cb64b?hq=1'
  ✅ with key iLvl equal to '510'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate gear as object › with key body, an object
  ✅ with key category equal to 'Body'
  ✅ with key name equal to 'Neo-Ishgardian Top of Healing'
  ✅ with key id equal to '96e994d56ae'
  ✅ with key iLvl equal to '480'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate gear as object › with key hands, an object
  ✅ with key category equal to 'Hands'
  ✅ with key name equal to 'Neo-Ishgardian Gloves of Healing'
  ✅ with key id equal to '41cccfe5212?hq=1'
  ✅ with key iLvl equal to '480'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate gear as object › with key legs, an object
  ✅ with key category equal to 'Legs'
  ✅ with key name equal to 'Exarchic Hose of Healing'
  ✅ with key id equal to '8421f0db039?hq=1'
  ✅ with key iLvl equal to '510'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate gear as object › with key feet, an object
  ✅ with key category equal to 'Feet'
  ✅ with key name equal to 'Exarchic Shoes of Healing'
  ✅ with key id equal to 'c31aef0901f?hq=1'
  ✅ with key iLvl equal to '510'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate gear as object › with key earrings, an object
  ✅ with key category equal to 'Earrings'
  ✅ with key name equal to 'Crystarium Earrings of Healing'
  ✅ with key id equal to 'e90fe40b436'
  ✅ with key iLvl equal to '490'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate gear as object › with key necklace, an object
  ✅ with key category equal to 'Necklace'
  ✅ with key name equal to 'Neo-Ishgardian Choker of Healing'
  ✅ with key id equal to 'e129bc8a2e4'
  ✅ with key iLvl equal to '480'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate gear as object › with key bracelets, an object
  ✅ with key category equal to 'Bracelets'
  ✅ with key name equal to 'Neo-Ishgardian Wristbands of Healing'
  ✅ with key id equal to '2a6a86be422?hq=1'
  ✅ with key iLvl equal to '480'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate gear as object › with key ringOne, an object
  ✅ with key category equal to 'Ring'
  ✅ with key name equal to 'Exarchic Ring of Healing'
  ✅ with key id equal to '54b8ff24b67?hq=1'
  ✅ with key iLvl equal to '510'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate gear as object › with key ringTwo, an object
  ✅ with key category equal to 'Ring'
  ✅ with key name equal to 'Deepshadow Ring of Healing'
  ✅ with key id equal to '1ed827fc342'
  ✅ with key iLvl equal to '460'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate gear as object › with key soulCrystal, an object
  ✅ with key category equal to 'Soul Crystal'
  ✅ with key name equal to 'Soul of the White Mage'
  ✅ with key id equal to '9cca5eb0fd2'
  ✅ with key iLvl equal to '30'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key GLD, an object
  ✅ with key class equal to 'GLD'
  ✅ with key level equal to '70'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key MRD, an object
  ✅ with key class equal to 'MRD'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key DRK, an object
  ✅ with key class equal to 'DRK'
  ✅ with key level equal to '80'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key GNB, an object
  ✅ with key class equal to 'GNB'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key CNJ, an object
  ✅ with key class equal to 'CNJ'
  ✅ with key level equal to '80'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key SGE, an object
  ✅ with key class equal to 'SGE'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key SCH, an object
  ✅ with key class equal to 'SCH'
  ✅ with key level equal to '71'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key AST, an object
  ✅ with key class equal to 'AST'
  ✅ with key level equal to '40'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key PGL, an object
  ✅ with key class equal to 'PGL'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key LNC, an object
  ✅ with key class equal to 'LNC'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key ROG, an object
  ✅ with key class equal to 'ROG'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key SAM, an object
  ✅ with key class equal to 'SAM'
  ✅ with key level equal to '55'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key RPR, an object
  ✅ with key class equal to 'RPR'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key ARC, an object
  ✅ with key class equal to 'ARC'
  ✅ with key level equal to '15'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key MCH, an object
  ✅ with key class equal to 'MCH'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key DNC, an object
  ✅ with key class equal to 'DNC'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key THM, an object
  ✅ with key class equal to 'THM'
  ✅ with key level equal to '77'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key ACN, an object
  ✅ with key class equal to 'ACN'
  ✅ with key level equal to '71'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key RDM, an object
  ✅ with key class equal to 'RDM'
  ✅ with key level equal to '80'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key BLU, an object
  ✅ with key class equal to 'BLU'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key CRP, an object
  ✅ with key class equal to 'CRP'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key BSM, an object
  ✅ with key class equal to 'BSM'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key ARM, an object
  ✅ with key class equal to 'ARM'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key GSM, an object
  ✅ with key class equal to 'GSM'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key LTW, an object
  ✅ with key class equal to 'LTW'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key WVR, an object
  ✅ with key class equal to 'WVR'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key ALC, an object
  ✅ with key class equal to 'ALC'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key CUL, an object
  ✅ with key class equal to 'CUL'
  ✅ with key level equal to '60'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key MIN, an object
  ✅ with key class equal to 'MIN'
  ✅ with key level equal to '7'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key BTN, an object
  ✅ with key class equal to 'BTN'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 11886902 - P'tajha Rihll › should evaluate classes as object › with key FSH, an object
  ✅ with key class equal to 'FSH'
  ✅ with key level equal to '0'
CharacterFactory › when loading character information from HTML › for character 38531003 - Aurora Nyxx
  ✅ should evaluate id as '38531003'
  ✅ should evaluate name as 'Aurora Nyx'
  ✅ should evaluate homeWorld as 'Omega'
  ✅ should evaluate dataCenter as 'Chaos'
  ✅ should evaluate race as 'Elezen'
  ✅ should evaluate clan as 'Wildwood'
  ✅ should evaluate nameDay as '4th Sun of the 4th Astral Moon'
  ✅ should evaluate guardian as 'Nymeia, the Spinner'
  ✅ should evaluate gender as 'Female'
  ✅ should evaluate activeClass as 'ACN'
  ✅ should evaluate grandCompany as 'undefined'
CharacterFactory › when loading character information from HTML › for character 38531003 - Aurora Nyxx › should evaluate freeCompany as object › with key id, an object
  ✅ with key id equal to 9228860798900682722
CharacterFactory › when loading character information from HTML › for character 38531003 - Aurora Nyxx › should evaluate freeCompany as object › with key name, an object
  ✅ with key name equal to Gandalf's Gangstas
CharacterFactory › when loading character information from HTML › for character 27218992 - Shamir Kotmine
  ✅ should evaluate id as '27218992'
  ✅ should evaluate name as 'Shamir Kotomine'
  ✅ should evaluate activeClass as 'GLD'
  ✅ should evaluate cityState as 'Limsa Lominsa'
  ✅ should evaluate clan as 'Dunesfolk'
  ✅ should evaluate homeWorld as 'Cerberus'
  ✅ should evaluate title as 'Outlander'
  ✅ should evaluate dataCenter as 'Chaos'
  ✅ should evaluate gender as 'Female'
  ✅ should evaluate grandCompany as 'Maelstrom'
  ✅ should evaluate grandCompanyRank as 'Storm Corporal'
  ✅ should evaluate guardian as 'Halone, the Fury'
  ✅ should evaluate nameDay as '8th Sun of the 1st Astral Moon'
  ✅ should evaluate race as 'Lalafell'
CharacterFactory › when loading character information from HTML › for character 27218992 - Shamir Kotmine › should evaluate freeCompany as object › with key id, an object
  ✅ with key id equal to 9234631035923259083
CharacterFactory › when loading character information from HTML › for character 27218992 - Shamir Kotmine › should evaluate freeCompany as object › with key name, an object
  ✅ with key name equal to Archadian Moogles
CharacterFactory › when loading character information from HTML › for character 27218992 - Shamir Kotmine › should evaluate gear as object › with key shield, an object
  ✅ with key category equal to 'Shield'
  ✅ with key name equal to 'Augmented Scaevan Magitek Shield'
  ✅ with key id equal to '92995e4130e'
  ✅ with key iLvl equal to '400'
CharacterFactory › when loading character information from HTML › for character 18001255 - Sey Moore
  ✅ should evaluate id as '18001255'
  ✅ should evaluate name as 'Sey Moore'
  ✅ should evaluate activeClass as 'SGE'
  ✅ should evaluate cityState as 'Gridania'
  ✅ should evaluate clan as 'Dunesfolk'
  ✅ should evaluate homeWorld as 'Cerberus'
  ✅ should evaluate title as 'Monster Hunter'
  ✅ should evaluate dataCenter as 'Chaos'
  ✅ should evaluate gender as 'Male'
  ✅ should evaluate grandCompany as 'Order of the Twin Adder'
  ✅ should evaluate grandCompanyRank as 'Serpent Captain'
  ✅ should evaluate guardian as 'Rhalgr, the Destroyer'
  ✅ should evaluate nameDay as '6th Sun of the 6th Astral Moon'
  ✅ should evaluate race as 'Lalafell'
CharacterFactory › when loading character information from HTML › for character 18001255 - Sey Moore › should evaluate freeCompany as object › with key id, an object
  ✅ with key id equal to 9234631035923259083
CharacterFactory › when loading character information from HTML › for character 18001255 - Sey Moore › should evaluate freeCompany as object › with key name, an object
  ✅ with key name equal to Archadian Moogles
CharacterFactory › when loading character information from HTML › for character 18001255 - Sey Moore › should evaluate classes as object › with key SGE, an object
  ✅ with key class equal to 'SGE'
  ✅ with key level equal to '76'
CharacterFactory › when loading character information from HTML › for character 28309293 - Refler Desu
  ✅ should evaluate id as '28309293'
  ✅ should evaluate name as 'Refler Desu'
  ✅ should evaluate activeClass as 'RPR'
  ✅ should evaluate cityState as 'Ul'dah'
  ✅ should evaluate clan as 'Xaela'
  ✅ should evaluate homeWorld as 'Cerberus'
  ✅ should evaluate title as 'The Liberator'
  ✅ should evaluate dataCenter as 'Chaos'
  ✅ should evaluate gender as 'Female'
  ✅ should evaluate grandCompany as 'Maelstrom'
  ✅ should evaluate grandCompanyRank as 'Second Storm Lieutenant'
  ✅ should evaluate guardian as 'Azeyma, the Warden'
  ✅ should evaluate nameDay as '7th Sun of the 1st Astral Moon'
  ✅ should evaluate race as 'Au Ra'
CharacterFactory › when loading character information from HTML › for character 28309293 - Refler Desu › should evaluate freeCompany as object › with key id, an object
  ✅ with key id equal to 9234631035923259083
CharacterFactory › when loading character information from HTML › for character 28309293 - Refler Desu › should evaluate freeCompany as object › with key name, an object
  ✅ with key name equal to Archadian Moogles
CharacterFactory › when loading character information from HTML › for character 28309293 - Refler Desu › should evaluate classes as object › with key RPR, an object
  ✅ with key class equal to 'RPR'
  ✅ with key level equal to '80'
CharacterFactory › when loading character information from HTML › for character 8283 - Windows Vista
  ✅ should evaluate id as '8283'
  ✅ should evaluate name as 'Windows Vista'
  ✅ should evaluate activeClass as 'ARM'
  ✅ should evaluate cityState as 'Ul'dah'
  ✅ should evaluate clan as 'Plainsfolk'
  ✅ should evaluate homeWorld as 'Aegis'
  ✅ should evaluate title as 'Peacemaker'
  ✅ should evaluate dataCenter as 'Elemental'
  ✅ should evaluate gender as 'Male'
  ✅ should evaluate grandCompany as 'Immortal Flames'
  ✅ should evaluate grandCompanyRank as 'Flame Captain'
  ✅ should evaluate guardian as 'Rhalgr, the Destroyer'
  ✅ should evaluate nameDay as '16th Sun of the 1st Umbral Moon'
  ✅ should evaluate race as 'Lalafell'
CharacterFactory › when loading character information from HTML › for character 8283 - Windows Vista › should evaluate freeCompany as object › with key id, an object
  ✅ with key id equal to 9236038410806755415
CharacterFactory › when loading character information from HTML › for character 8283 - Windows Vista › should evaluate freeCompany as object › with key name, an object
  ✅ with key name equal to DawnGarden
CharacterFactory › when loading character information from HTML › for character 8283 - Windows Vista › should evaluate pvpTeam as object › with key id, an object
  ✅ with key id equal to 754a1662b54d9fe4d0c6beefa0e61e856fff4d10
CharacterFactory › when loading character information from HTML › for character 8283 - Windows Vista › should evaluate pvpTeam as object › with key name, an object
  ✅ with key name equal to Hushigi Yugi
CharacterFactory › when loading character information from HTML › for character 8283 - Windows Vista › should evaluate classes as object › with key ARM, an object
  ✅ with key class equal to 'ARM'
  ✅ with key level equal to '90'

✅ src/entity/character/attribute/class/tests/Class.test.ts

Class › given we are converting display name into abbreviation
  ✅ when given a string of Gladiator then should return GLD
  ✅ when given a string of Paladin / Gladiator then should return GLD
  ✅ when given a string of Paladin / Gladiateur then should return GLD
  ✅ when given a string of Leatherworker then should return LTW
  ✅ when given a string of Red Mage then should return RDM
Class › given we are converting image path into abbreviation
  ✅ when given a string of lds/h/1/3wQqdIwC4pyH2mWSQRYrw85nqU.png then should return GLD
  ✅ when given a string of lds/h/I/ehAxGH3EJStrLG6r-PhKUaIvaE.png then should return GLD
Class › given configuration [config]
  ✅ each and every key of the object should be unique
  ✅ each and every value of abbreviation should be unique
  ✅ each and every value of abbreviation should match at map and object level
  ✅ each and every value of imageMapping should be unique
  ✅ each and every value of iconMapping should be unique
  ✅ correct classes should be set as DoM
  ✅ correct classes should be set as DoW
  ✅ correct classes should be set as DoL
  ✅ correct classes should be set as DoH
  ✅ correct classes should be set as Tank
  ✅ correct classes should be set as Healer
  ✅ correct classes should be set as Melee DPS
  ✅ correct classes should be set as Ranged DPS
  ✅ correct classes should be set as Magic DPS
  ✅ correct classes should be set as Limited Job
  ✅ correct classes should be set as Gatherer
  ✅ correct classes should be set as Crafter
  ✅ no class should have a job when `isOnlyClass` is truthy
  ✅ no class should have a job when `isOnlyJob` is truthy
  ✅ all classes where `isOnlyJob` and `isOnlyClass` are false should have job field

✅ src/entity/creature/tests/CreatureFactory.test.ts

CreatureFactory › given a mount tooltip is being loaded › for tooltip 9045c5c5d5d181ee495f0e76af07d6d93c9f0f13 - relating to P'tajha Rihll - Mount: Company Chocobo
  ✅ should evaluate id as 'lodestone/character/11886902/mount/tooltip/9045c5c5d5d181ee495f0e76af07d6d93c9f0f13'
  ✅ should evaluate type as 'MOUNT'
  ✅ should evaluate toolTipId as '9045c5c5d5d181ee495f0e76af07d6d93c9f0f13'
  ✅ should evaluate name as 'Company Chocobo'
CreatureFactory › given a mount tooltip is being loaded › for tooltip 9045c5c5d5d181ee495f0e76af07d6d93c9f0f13 - relating to P'tajha Rihll - Mount: Company Chocobo › should evaluate item as object
  ✅ with key id equal to '85f78cb2a87'
  ✅ with key name equal to 'Chocobo Whistle'

✅ src/entity/world/tests/Worlds.test.ts

Worlds › when loading server information from html
  ✅ should return an array of servers of expected length
  ✅ should return array of data centers of expected length
Worlds › when loading server information from html › when status is not requested
  ✅ returned servers should not have status set
Worlds › when loading server information from html › when category is not requested
  ✅ returned servers should not have status set
Worlds › when loading server information from html › servers array should contain Cerberus
  ✅ with name 'Cerberus'
  ✅ with region 'Europe'
  ✅ with data center 'Chaos'
  ✅ where category is 'Congested'
  ✅ where status is 'Creation of New Characters Unavailable'
Worlds › when loading server information from html › servers array should contain Ridill
  ✅ with name 'Ridill'
  ✅ with region 'Japan'
  ✅ with data center 'Gaia'
  ✅ where category is 'Standard'
  ✅ where status is 'Creation of New Characters Unavailable'
Worlds › when loading server information from html › servers array should contain Ultros
  ✅ with name 'Ultros'
  ✅ with region 'North America'
  ✅ with data center 'Primal'
  ✅ where category is 'Standard'
  ✅ where status is 'Creation of New Characters Available'
Worlds › when loading server information from html › servers array should contain Bismarck
  ✅ with name 'Bismarck'
  ✅ with region 'Oceania'
  ✅ with data center 'Materia'
  ✅ where category is 'New'
  ✅ where status is 'Creation of New Characters Available'