You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in the midst of a battle trying to support babel imports for niceness but also be able to stub out dependencies in tests.
Right now the only solution I can find that doesn't throw a giant wobbly in my webpack bundle is to use the inject-loader when importing files from tests. However - this only works with require syntax.
Are there any recommendations for stubbing out dependencies that are imported using babel-loader? Preferably having the only requirements being isolated to the test files themselves.
The text was updated successfully, but these errors were encountered:
I'm in the midst of a battle trying to support babel imports for niceness but also be able to stub out dependencies in tests.
Right now the only solution I can find that doesn't throw a giant wobbly in my webpack bundle is to use the
inject-loader
when importing files from tests. However - this only works with require syntax.Are there any recommendations for stubbing out dependencies that are imported using babel-loader? Preferably having the only requirements being isolated to the test files themselves.
The text was updated successfully, but these errors were encountered: