Skip to content

Commit 34117a0

Browse files
committed
fix typo in if condition
1 parent 02be746 commit 34117a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/charts/src/internal/ChartContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface ContainerProps extends CommonProps {
1616
// eslint-disable-next-line no-underscore-dangle
1717
const __testingProps__: any = {};
1818

19-
if ((process.env.NODE_ENV = 'test')) {
19+
if (process.env.NODE_ENV === 'test') {
2020
__testingProps__.width = 400;
2121
__testingProps__.height = 400;
2222
}

0 commit comments

Comments
 (0)