Closed thangpqtechlead closed 8 months ago
Hi, I use Jest to write unit test for a component use mui-tel-input and I get this error: SyntaxError: Cannot use import statement outside a module
1 | import React, { ChangeEvent } from 'react' > 2 | import { MuiTelInput } from 'mui-tel-input'
Duplicated with https://github.com/viclafouch/mui-tel-input/issues/97
Hi, I use Jest to write unit test for a component use mui-tel-input and I get this error: SyntaxError: Cannot use import statement outside a module