Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
refactor: force isUnfinishedFeaturesEnabled to return true for test…
Browse files Browse the repository at this point in the history
…ing (#589)
  • Loading branch information
vardan-arm committed Apr 17, 2022
1 parent dead02a commit 76160a3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/utils.ts
Expand Up @@ -37,6 +37,9 @@ export function isSameDay(dateA: Date, dateB: Date) {
);
}

// eslint-disable-next-line @typescript-eslint/no-unused-vars
export function isUnfinishedFeaturesEnabled(env: TEnvironment): boolean {
return env === 'dev' || __DEV__;
// TODO: restore the commented part, remove eslint-ignore-comment
// return env === 'dev' || __DEV__;
return true;
}

0 comments on commit 76160a3

Please sign in to comment.