ant-design / ant-design/use-emotion-css
jest test fail
- Dominant language
- TypeScript
- Stars
- 17
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
node_modules\@ant-design\use-emotion-css\dist\index.js:1
({"Object.":function(module,exports,require,__dirname,__filename,jest){import { css } from '@emotion/css';
^^^^^^
SyntaxError: Cannot use import statement outside a module
Contributor guide
No contributing guide indexed for this repository
Research direction
Begin by reproducing the Jest failure and inspect the referenced node_modules/@ant-design/use-emotion-css/dist/index.js entry together with the repository's test configuration. No test file or configuration file is named in the report. Done means Jest can process this package import without the syntax error and the existing tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100