Skip to content

Commit

Permalink
feat: move epoch by an util
Browse files Browse the repository at this point in the history
  • Loading branch information
aziolek committed Mar 29, 2024
1 parent d5d52a1 commit b5f221f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/cypress/e2e/projectsArchive.cy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { checkLocationWithLoader, visitWithLoader } from 'cypress/utils/e2e';
import { checkLocationWithLoader, moveEpoch, visitWithLoader } from 'cypress/utils/e2e';
import viewports from 'cypress/utils/viewports';
import { QUERY_KEYS } from 'src/api/queryKeys';
import { IS_ONBOARDING_ALWAYS_VISIBLE, IS_ONBOARDING_DONE } from 'src/constants/localStorageKeys';
Expand All @@ -21,7 +21,7 @@ Object.values(viewports).forEach(({ device, viewportWidth, viewportHeight }) =>
const currentEpochBefore = Number(
win.clientReactQuery.getQueryData(QUERY_KEYS.currentEpoch),
);
await win.mutateAsyncMoveEpoch();
await moveEpoch(win);
const currentEpochAfter = Number(
win.clientReactQuery.getQueryData(QUERY_KEYS.currentEpoch),
);
Expand Down

0 comments on commit b5f221f

Please sign in to comment.