Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with default export of default import from module #58

Closed
kamilio opened this issue Sep 16, 2015 · 1 comment
Closed

Problem with default export of default import from module #58

kamilio opened this issue Sep 16, 2015 · 1 comment

Comments

@kamilio
Copy link
Contributor

kamilio commented Sep 16, 2015

I've noticed strange behaviour when using this export/import construct. It does not expose the original module, just object with the rewrite enhancement methods.

export { default } from './components/Table';
{ __GetDependency__: [Function: __GetDependency__],
  __get__: [Function: __GetDependency__],
  __Rewire__: [Function: __Rewire__],
  __set__: [Function: __Rewire__],
  __ResetDependency__: [Function: __ResetDependency__] }

You can find failing test for such a scenario in following commit kamilio@2b3b0fc

Thanks a lot

@speedskater
Copy link
Owner

Thanks for reporting the issue and the samples. I created a fix. It will be contained in the upcoming beta version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants