fraserxu / fraserxu/react-testing-recipes
Stylus-modules usage
Open
- Dominant language
- JavaScript
- Stars
- 76
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Hi there. I'm using css-modules and stylus as preprocessor.
When I'm running tape, I get such kind of error
`
babel-tape-runner tests/**/*.test.js | faucet && tape-babel-css-modules tests/**/*.test.js | faucet
.../node_modules/babel-core/lib/transformation/file/index.js:548
throw err;
^
SyntaxError: .../src/components/Component/styles.styl: Unexpected token (1:1)
> 1 | @import '~mixins'
`
This is my npm script
`
"test": "tape-babel-css-modules tests/**/*.test.js | faucet"
`
What should I do?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.