Skip to content

fix(online): show cows offered by others with accurate label and value #1407

fix(online): show cows offered by others with accurate label and value

fix(online): show cows offered by others with accurate label and value #1407

GitHub Actions / Jest Tests succeeded Aug 26, 2023 in 1s

Jest Tests ✅

Tests passed successfully

✅ reports/jest-junit.xml

557 tests were completed in 145s with 557 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
src/common/services/randomNumber.test.js 3✅ 454ms
src/common/utils.test.js 2✅ 530ms
src/components/AccountingView/AccountingView.test.js 6✅ 2s
src/components/Achievement/Achievement.test.js 3✅ 625ms
src/components/AchievementsView/AchievementsView.test.js 1✅ 680ms
src/components/AnimatedNumber/AnimatedNumber.test.js 1✅ 460ms
src/components/AppBar/AppBar.test.js 1✅ 530ms
src/components/BailOutErrorBoundary/BailOutErrorBoundary.test.js 1✅ 457ms
src/components/ContextPane/ContextPane.test.js 1✅ 822ms
src/components/CowCard/Bloodline/Bloodline.test.js 1✅ 522ms
src/components/CowCard/CowCard.test.js 11✅ 6s
src/components/CowCard/Subheader/Subheader.test.js 4✅ 910ms
src/components/CowPen/CowPen.test.js 9✅ 719ms
src/components/CowPenContextMenu/CowPenContextMenu.test.js 1✅ 998ms
src/components/DebugMenu/DebugMenu.test.js 1✅ 543ms
src/components/Farmhand/Farmhand.test.js 4✅ 1s
src/components/Farmhand/helpers/getInventoryQuantities.test.js 1✅ 478ms
src/components/FermentationRecipeList/FermentationRecipeList.test.js 2✅ 1s
src/components/Field/Field.test.js 21✅ 3s
src/components/Home/Home.test.js 3✅ 1s
src/components/IngredientsList/IngredientsList.test.js 3✅ 626ms
src/components/Inventory/Inventory.test.js 3✅ 703ms
src/components/Item/Item.test.js 5✅ 710ms
src/components/KeybindingsView/KeybindingsView.test.js 1✅ 516ms
src/components/LogView/LogView.test.js 2✅ 581ms
src/components/Navigation/Navigation.test.js 3✅ 877ms
src/components/NotificationSystem/NotificationSystem.test.js 1✅ 581ms
src/components/OnlinePeersView/OnlinePeer/OnlinePeer.test.js 1✅ 726ms
src/components/OnlinePeersView/OnlinePeersView.test.js 1✅ 756ms
src/components/Plot/Plot.rtl.test.js 9✅ 1s
src/components/Plot/Plot.test.js 23✅ 750ms
src/components/PriceEventView/PriceEventView.test.js 1✅ 695ms
src/components/ProgressBar/ProgressBar.test.js 1✅ 474ms
src/components/QuantityInput/QuantityInput.test.js 1✅ 667ms
src/components/QuickSelect/QuickSelect.test.js 1✅ 678ms
src/components/Recipe/Recipe.test.js 1✅ 684ms
src/components/SettingsView/RandomSeedInput.test.js 2✅ 747ms
src/components/SettingsView/SettingsView.test.js 1✅ 581ms
src/components/Shop/Shop.test.js 1✅ 730ms
src/components/Stage/Stage.test.js 3✅ 903ms
src/components/StatsView/StatsView.test.js 1✅ 674ms
src/components/TierPurchase/TierPurchase.test.js 11✅ 2s
src/components/Toolbelt/Toolbelt.test.js 7✅ 968ms
src/components/UpgradePurchase/UpgradePurchase.test.js 6✅ 900ms
src/components/Workshop/getUpgradesAvailable.test.js 2✅ 484ms
src/components/Workshop/Workshop.test.js 11✅ 1s
src/data/achievements.test.js 16✅ 615ms
src/factories/CoalFactory.test.js 2✅ 558ms
src/factories/OreFactory.test.js 1✅ 559ms
src/factories/ResourceFactory.test.js 4✅ 732ms
src/factories/StoneFactory.test.js 1✅ 465ms
src/game-logic/cows/cow-selection.test.js 4✅ 7s
src/game-logic/field-purchase.test.js 1✅ 3s
src/game-logic/item-purchase.test.js 1✅ 3s
src/game-logic/item-sell.test.js 1✅ 2s
src/game-logic/reducers/addItemToInventory.test.js 5✅ 579ms
src/game-logic/reducers/adjustLoan.test.js 3✅ 574ms
src/game-logic/reducers/applyCrows.test.js 6✅ 552ms
src/game-logic/reducers/applyLoanInterest.test.js 1✅ 828ms
src/game-logic/reducers/applyPrecipitation.test.js 5✅ 571ms
src/game-logic/reducers/changeCowAutomaticHugState.test.js 4✅ 805ms
src/game-logic/reducers/changeCowBreedingPenResident.test.js 8✅ 827ms
src/game-logic/reducers/changeCowName.test.js 2✅ 582ms
src/game-logic/reducers/clearPlot.test.js 7✅ 560ms
src/game-logic/reducers/computeCowInventoryForNextDay.test.js 2✅ 447ms
src/game-logic/reducers/computeStateForNextDay.test.js 1✅ 568ms
src/game-logic/reducers/createPriceEvent.test.js 2✅ 458ms
src/game-logic/reducers/decrementItemFromInventory.test.js 3✅ 669ms
src/game-logic/reducers/fertilizePlot.test.js 9✅ 567ms
src/game-logic/reducers/forRange.test.js 1✅ 1s
src/game-logic/reducers/generatePriceEvents.test.js 3✅ 798ms
src/game-logic/reducers/harvestPlot.test.js 11✅ 599ms
src/game-logic/reducers/hugCow.test.js 3✅ 557ms
src/game-logic/reducers/incrementPlotContentAge.test.js 4✅ 1s
src/game-logic/reducers/makeFermentationRecipe.test.js 4✅ 469ms
src/game-logic/reducers/makeRecipe.test.js 2✅ 562ms
src/game-logic/reducers/minePlot.test.js 6✅ 593ms
src/game-logic/reducers/offerCow.test.js 1✅ 448ms
src/game-logic/reducers/plantInPlot.test.js 5✅ 557ms
src/game-logic/reducers/prependPendingPeerMessage.test.js 2✅ 454ms
src/game-logic/reducers/processCellar.test.js 1✅ 567ms
src/game-logic/reducers/processCellarSpoilage.test.js 3✅ 565ms
src/game-logic/reducers/processCowAttrition.test.js 2✅ 559ms
src/game-logic/reducers/processCowBreeding.test.js 7✅ 594ms
src/game-logic/reducers/processCowFertilizerProduction.test.js 3✅ 560ms
src/game-logic/reducers/processFeedingCows.test.js 4✅ 559ms
src/game-logic/reducers/processLevelUp.test.js 3✅ 1s
src/game-logic/reducers/processMilkingCows.test.js 3✅ 554ms
src/game-logic/reducers/processNerfs.test.js 1✅ 1s
src/game-logic/reducers/processSprinklers.test.js 2✅ 565ms
src/game-logic/reducers/processWeather.test.js 2✅ 643ms
src/game-logic/reducers/purchaseCellar.test.js 4✅ 564ms
src/game-logic/reducers/purchaseCombine.test.js 3✅ 576ms
src/game-logic/reducers/purchaseComposter.test.js 4✅ 564ms
src/game-logic/reducers/purchaseCow.test.js 3✅ 562ms
src/game-logic/reducers/purchaseCowPen.test.js 4✅ 801ms
src/game-logic/reducers/purchaseField.test.js 4✅ 667ms
src/game-logic/reducers/purchaseItem.test.js 5✅ 891ms
src/game-logic/reducers/purchaseSmelter.test.js 4✅ 568ms
src/game-logic/reducers/purchaseStorageExpansion.test.js 2✅ 884ms
src/game-logic/reducers/rotateNotificationLogs.test.js 3✅ 451ms
src/game-logic/reducers/selectCow.test.js 1✅ 444ms
src/game-logic/reducers/sellCow.test.js 3✅ 855ms
src/game-logic/reducers/sellItem.test.js 10✅ 618ms
src/game-logic/reducers/sellKeg.test.js 9✅ 1s
src/game-logic/reducers/setScarecrow.test.js 4✅ 561ms
src/game-logic/reducers/setSprinkler.test.js 4✅ 564ms
src/game-logic/reducers/showNotification.test.js 2✅ 458ms
src/game-logic/reducers/spawnWeeds.test.js 3✅ 553ms
src/game-logic/reducers/updateAchievements.test.js 4✅ 643ms
src/game-logic/reducers/updateFinancialRecords.test.js 3✅ 598ms
src/game-logic/reducers/updateInventoryRecordsForNextDay.test.js 1✅ 457ms
src/game-logic/reducers/updateLearnedRecipes.test.js 2✅ 592ms
src/game-logic/reducers/updatePeer.test.js 4✅ 1s
src/game-logic/reducers/updatePlotShoveledState.test.js 3✅ 457ms
src/game-logic/reducers/updatePriceEvents.test.js 1✅ 821ms
src/game-logic/reducers/waterAllPlots.test.js 1✅ 581ms
src/game-logic/reducers/waterPlot.test.js 2✅ 586ms
src/game-logic/reducers/withdrawCow.test.js 1✅ 446ms
src/handlers/ui-events.test.js 17✅ 6s
src/shell/bootup.test.js 4✅ 3s
src/shell/game-saving.test.js 1✅ 3s
src/shell/navigation.test.js 4✅ 5s
src/shell/notifications.test.js 2✅ 3s
src/shell/pending-notifications.test.js 1✅ 2s
src/utils/findInField.test.js 2✅ 792ms
src/utils/getCropLifecycleDuration.test.js 1✅ 479ms
src/utils/getCropsAvailableToFerment.test.js 2✅ 567ms
src/utils/getKegSpoilageRate.test.js 5✅ 477ms
src/utils/getLevelEntitlements.test.js 1✅ 461ms
src/utils/getMaxYieldOfFermentationRecipe.test.js 4✅ 618ms
src/utils/index.test.js 75✅ 13s
src/utils/moneyString.test.js 1✅ 459ms
src/utils/totalIngredientsInRecipe.test.js 2✅ 450ms