ezhlobo / babel-plugin-transform-jsx-classname-components

It allows you to specify inner components via class names
4 stars 0 forks source link

Tests Fail #2

Closed q3e closed 6 years ago

q3e commented 6 years ago

Jests tests fail:

import { Icons } from '@mattermarkstudios/aet-components'
IconBlock
      39 |         Icons.Arrow(aria-hidden scale=0.7)
    > 40 |
      41 |     div
      42 |       ButtonWrapper

ReferenceError: Icons is not defined

ezhlobo commented 6 years ago

@fatahn if you are talking about jest, then make sure that jest configured with babel-jest transpiler and respect your babelrc file.

Otherwise, could you please give more details, so I'll be able to reproduce the bug and figure it out.