refactor: add unlockTool to src/game-logic/reducers/index.js #1525
GitHub Actions / Jest Tests
succeeded
Jan 23, 2024 in 0s
Jest Tests ✅
✅ reports/jest-junit.xml
617 tests were completed in 77s with 617 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
src/common/services/randomNumber.test.js | 3✅ | 708ms | ||
src/common/utils.test.js | 2✅ | 535ms | ||
src/components/AccountingView/AccountingView.test.js | 6✅ | 1s | ||
src/components/Achievement/Achievement.test.js | 3✅ | 803ms | ||
src/components/AchievementsView/AchievementsView.test.js | 1✅ | 1s | ||
src/components/AnimatedNumber/AnimatedNumber.test.js | 1✅ | 492ms | ||
src/components/AppBar/AppBar.test.js | 1✅ | 670ms | ||
src/components/BailOutErrorBoundary/BailOutErrorBoundary.test.js | 1✅ | 599ms | ||
src/components/ContextPane/ContextPane.test.js | 1✅ | 1s | ||
src/components/CowCard/Bloodline/Bloodline.test.js | 1✅ | 697ms | ||
src/components/CowCard/CowCard.test.js | 11✅ | 22s | ||
src/components/CowCard/Subheader/Subheader.test.js | 6✅ | 1s | ||
src/components/CowPen/CowPen.test.js | 9✅ | 994ms | ||
src/components/CowPenContextMenu/CowPenContextMenu.test.js | 1✅ | 1s | ||
src/components/DebugMenu/DebugMenu.test.js | 1✅ | 749ms | ||
src/components/Farmhand/Farmhand.test.js | 4✅ | 1s | ||
src/components/Farmhand/helpers/getInventoryQuantities.test.js | 1✅ | 533ms | ||
src/components/FermentationRecipeList/FermentationRecipeList.test.js | 2✅ | 857ms | ||
src/components/Field/Field.test.js | 21✅ | 5s | ||
src/components/Home/Home.test.js | 3✅ | 2s | ||
src/components/IngredientsList/IngredientsList.test.js | 3✅ | 960ms | ||
src/components/Inventory/Inventory.test.js | 3✅ | 1s | ||
src/components/Item/Item.test.js | 5✅ | 949ms | ||
src/components/KeybindingsView/KeybindingsView.test.js | 1✅ | 839ms | ||
src/components/LogView/LogView.test.js | 2✅ | 713ms | ||
src/components/Navigation/Navigation.test.js | 3✅ | 1s | ||
src/components/NotificationSystem/NotificationSystem.test.js | 1✅ | 677ms | ||
src/components/OnlinePeersView/OnlinePeer/OnlinePeer.test.js | 1✅ | 1s | ||
src/components/OnlinePeersView/OnlinePeersView.test.js | 1✅ | 1s | ||
src/components/Plot/Plot.rtl.test.js | 9✅ | 2s | ||
src/components/Plot/Plot.test.js | 23✅ | 20s | ||
src/components/PriceEventView/PriceEventView.test.js | 1✅ | 1s | ||
src/components/ProgressBar/ProgressBar.test.js | 1✅ | 642ms | ||
src/components/QuantityInput/QuantityInput.test.js | 1✅ | 980ms | ||
src/components/QuickSelect/QuickSelect.test.js | 1✅ | 1s | ||
src/components/Recipe/Recipe.test.js | 1✅ | 1s | ||
src/components/SettingsView/RandomSeedInput.test.js | 2✅ | 1s | ||
src/components/SettingsView/SettingsView.test.js | 1✅ | 1s | ||
src/components/Shop/Shop.test.js | 3✅ | 1s | ||
src/components/Stage/Stage.test.js | 3✅ | 1s | ||
src/components/StatsView/StatsView.test.js | 1✅ | 1s | ||
src/components/TierPurchase/TierPurchase.test.js | 11✅ | 2s | ||
src/components/Toolbelt/Toolbelt.test.js | 7✅ | 1s | ||
src/components/UpgradePurchase/UpgradePurchase.test.js | 6✅ | 1s | ||
src/components/Workshop/getUpgradesAvailable.test.js | 2✅ | 589ms | ||
src/components/Workshop/Workshop.test.js | 11✅ | 2s | ||
src/data/achievements.test.js | 18✅ | 850ms | ||
src/factories/CoalFactory.test.js | 2✅ | 673ms | ||
src/factories/OreFactory.test.js | 1✅ | 722ms | ||
src/factories/ResourceFactory.test.js | 4✅ | 910ms | ||
src/factories/StoneFactory.test.js | 1✅ | 576ms | ||
src/game-logic/cows/cow-selection.test.js | 4✅ | 13s | ||
src/game-logic/field-purchase.test.js | 1✅ | 4s | ||
src/game-logic/item-purchase.test.js | 1✅ | 3s | ||
src/game-logic/item-sell.test.js | 1✅ | 3s | ||
src/game-logic/reducers/addExperience.test.js | 2✅ | 625ms | ||
src/game-logic/reducers/addItemToInventory.test.js | 5✅ | 745ms | ||
src/game-logic/reducers/adjustLoan.test.js | 3✅ | 651ms | ||
src/game-logic/reducers/applyCrows.test.js | 6✅ | 713ms | ||
src/game-logic/reducers/applyLoanInterest.test.js | 1✅ | 672ms | ||
src/game-logic/reducers/applyPrecipitation.test.js | 5✅ | 692ms | ||
src/game-logic/reducers/changeCowAutomaticHugState.test.js | 4✅ | 818ms | ||
src/game-logic/reducers/changeCowBreedingPenResident.test.js | 8✅ | 725ms | ||
src/game-logic/reducers/changeCowName.test.js | 2✅ | 632ms | ||
src/game-logic/reducers/clearPlot.test.js | 7✅ | 728ms | ||
src/game-logic/reducers/computeCowInventoryForNextDay.test.js | 2✅ | 510ms | ||
src/game-logic/reducers/computeStateForNextDay.test.js | 11✅ | 719ms | ||
src/game-logic/reducers/createPriceEvent.test.js | 2✅ | 462ms | ||
src/game-logic/reducers/decrementItemFromInventory.test.js | 3✅ | 596ms | ||
src/game-logic/reducers/fertilizePlot.test.js | 9✅ | 767ms | ||
src/game-logic/reducers/forRange.test.js | 1✅ | 648ms | ||
src/game-logic/reducers/generatePriceEvents.test.js | 3✅ | 1s | ||
src/game-logic/reducers/harvestPlot.test.js | 11✅ | 726ms | ||
src/game-logic/reducers/hugCow.test.js | 3✅ | 592ms | ||
src/game-logic/reducers/incrementPlotContentAge.test.js | 4✅ | 701ms | ||
src/game-logic/reducers/makeFermentationRecipe.test.js | 4✅ | 586ms | ||
src/game-logic/reducers/makeRecipe.test.js | 6✅ | 664ms | ||
src/game-logic/reducers/minePlot.test.js | 6✅ | 770ms | ||
src/game-logic/reducers/offerCow.test.js | 1✅ | 560ms | ||
src/game-logic/reducers/plantInPlot.test.js | 5✅ | 649ms | ||
src/game-logic/reducers/prependPendingPeerMessage.test.js | 2✅ | 574ms | ||
src/game-logic/reducers/processCellar.test.js | 1✅ | 607ms | ||
src/game-logic/reducers/processCellarSpoilage.test.js | 3✅ | 734ms | ||
src/game-logic/reducers/processCowAttrition.test.js | 2✅ | 708ms | ||
src/game-logic/reducers/processCowBreeding.test.js | 8✅ | 728ms | ||
src/game-logic/reducers/processCowFertilizerProduction.test.js | 3✅ | 866ms | ||
src/game-logic/reducers/processFeedingCows.test.js | 4✅ | 747ms | ||
src/game-logic/reducers/processLevelUp.test.js | 3✅ | 1s | ||
src/game-logic/reducers/processMilkingCows.test.js | 3✅ | 1s | ||
src/game-logic/reducers/processNerfs.test.js | 1✅ | 1s | ||
src/game-logic/reducers/processSprinklers.test.js | 2✅ | 648ms | ||
src/game-logic/reducers/processWeather.test.js | 2✅ | 662ms | ||
src/game-logic/reducers/purchaseCellar.test.js | 6✅ | 736ms | ||
src/game-logic/reducers/purchaseCombine.test.js | 3✅ | 700ms | ||
src/game-logic/reducers/purchaseComposter.test.js | 5✅ | 696ms | ||
src/game-logic/reducers/purchaseCow.test.js | 3✅ | 680ms | ||
src/game-logic/reducers/purchaseCowPen.test.js | 6✅ | 691ms | ||
src/game-logic/reducers/purchaseField.test.js | 5✅ | 715ms | ||
src/game-logic/reducers/purchaseForest.test.js | 6✅ | 768ms | ||
src/game-logic/reducers/purchaseItem.test.js | 5✅ | 746ms | ||
src/game-logic/reducers/purchaseSmelter.test.js | 5✅ | 704ms | ||
src/game-logic/reducers/purchaseStorageExpansion.test.js | 2✅ | 693ms | ||
src/game-logic/reducers/rotateNotificationLogs.test.js | 3✅ | 541ms | ||
src/game-logic/reducers/selectCow.test.js | 1✅ | 569ms | ||
src/game-logic/reducers/sellCow.test.js | 3✅ | 727ms | ||
src/game-logic/reducers/sellItem.test.js | 18✅ | 2s | ||
src/game-logic/reducers/sellKeg.test.js | 9✅ | 735ms | ||
src/game-logic/reducers/setScarecrow.test.js | 4✅ | 660ms | ||
src/game-logic/reducers/setSprinkler.test.js | 4✅ | 725ms | ||
src/game-logic/reducers/showNotification.test.js | 2✅ | 598ms | ||
src/game-logic/reducers/spawnWeeds.test.js | 3✅ | 755ms | ||
src/game-logic/reducers/unlockTool.test.js | 2✅ | 522ms | ||
src/game-logic/reducers/updateAchievements.test.js | 4✅ | 820ms | ||
src/game-logic/reducers/updateFinancialRecords.test.js | 3✅ | 741ms | ||
src/game-logic/reducers/updateInventoryRecordsForNextDay.test.js | 1✅ | 515ms | ||
src/game-logic/reducers/updateLearnedRecipes.test.js | 2✅ | 541ms | ||
src/game-logic/reducers/updatePeer.test.js | 4✅ | 1s | ||
src/game-logic/reducers/updatePlotShoveledState.test.js | 3✅ | 518ms | ||
src/game-logic/reducers/updatePriceEvents.test.js | 1✅ | 540ms | ||
src/game-logic/reducers/waterAllPlots.test.js | 1✅ | 595ms | ||
src/game-logic/reducers/waterPlot.test.js | 2✅ | 721ms | ||
src/game-logic/reducers/withdrawCow.test.js | 1✅ | 499ms | ||
src/handlers/ui-events.test.js | 17✅ | 8s | ||
src/shell/bootup.test.js | 4✅ | 5s | ||
src/shell/game-saving.test.js | 1✅ | 3s | ||
src/shell/navigation.test.js | 4✅ | 8s | ||
src/shell/notifications.test.js | 2✅ | 5s | ||
src/shell/pending-notifications.test.js | 1✅ | 3s | ||
src/utils/findInField.test.js | 2✅ | 661ms | ||
src/utils/getCropLifecycleDuration.test.js | 1✅ | 554ms | ||
src/utils/getCropsAvailableToFerment.test.js | 2✅ | 702ms | ||
src/utils/getKegSpoilageRate.test.js | 5✅ | 482ms | ||
src/utils/getLevelEntitlements.test.js | 1✅ | 883ms | ||
src/utils/getMaxYieldOfFermentationRecipe.test.js | 4✅ | 561ms | ||
src/utils/index.test.js | 89✅ | 16s | ||
src/utils/moneyString.test.js | 1✅ | 535ms | ||
src/utils/totalIngredientsInRecipe.test.js | 2✅ | 743ms |
Loading