Skip to content

Commit

Permalink
fix karma test
Browse files Browse the repository at this point in the history
  • Loading branch information
siddy2181 committed Nov 24, 2024
1 parent 6f9b7fc commit 2028a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function protectedExport<T>(xport: T): ?T {
// $FlowIssue
export const devEnvOnlyExport = (unprotectedExport) => {
const env = getEnv();
if (env === ENV.LOCAL || env === ENV.STAGE) {
if (env === ENV.LOCAL || env === ENV.STAGE || env === ENV.TEST) {
return unprotectedExport;
} else {
return undefined;
Expand Down

0 comments on commit 2028a84

Please sign in to comment.