Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit e651bbb

Browse files
committed
revert(helper): fix removed NODE_ENV === 'test'
1 parent b5b7eed commit e651bbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_internal/utils/helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as path from 'path';
44

55
export const isWindowDefined = typeof window !== 'undefined';
66
export const isDocumentDefined = typeof document !== 'undefined';
7-
export const isInDevelopment = process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'test';
7+
export const isInDevelopment = process.env.NODE_ENV === 'development';
88

99
const exception = ['line-height', 'font-weight', 'opacity', 'scale', 'z-index'];
1010

0 commit comments

Comments
 (0)