Skip to content

Commit

Permalink
test(flavour): switch windchill to manual
Browse files Browse the repository at this point in the history
  • Loading branch information
Forceh91 committed Nov 1, 2023
1 parent bab0739 commit 49558f4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/__tests__/flavour.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,13 @@ describe("Flavour loading", () => {

describe("Flavour utils", () => {
it("detectes auto-duration screens correctly", () => {
const autoDurationScreens = [Screens.ALERTS, Screens.FORECAST, Screens.WINDCHILL];
const manualDurationScreens = [Screens.ALMANAC, Screens.CANADA_TEMP_CONDITIONS_EAST, Screens.LAST_MONTH_STATS];
const autoDurationScreens = [Screens.ALERTS, Screens.FORECAST];
const manualDurationScreens = [
Screens.ALMANAC,
Screens.CANADA_TEMP_CONDITIONS_EAST,
Screens.LAST_MONTH_STATS,
Screens.WINDCHILL,
];

autoDurationScreens.forEach((autoScreen) => expect(isAutomaticScreen(autoScreen)).toBeTruthy());
manualDurationScreens.forEach((manualScreen) => expect(isAutomaticScreen(manualScreen)).toBeFalsy());
Expand Down

0 comments on commit 49558f4

Please sign in to comment.