Comments (12)
We should probably wait until browserify 5.x stabilizes. At the moment this guy pushes 3 releases per day.
from karma-browserify.
It's stabilized a bit more now.
from karma-browserify.
Yup. There's an issue with transforms that I'm looking at now. Less daunting than expected though.
from karma-browserify.
I work a lot on browserify and plugins, so happy to look at sometime if you've got a test case.
from karma-browserify.
For some reason transforms aren't being run — can't figure out why for the life of me. It's not a module resolution issue. If you pass in a function directly it's never called.
from karma-browserify.
@terinjokes Please checkout the browserify-5-support branch. I started to work on some of the browserify 4.x -> 5.x conversion issues and the branch contains the current work in progress state.
A number of test cases fail (transforms ...). If you have time, try to get them green and we are ready to upgrade to browserify 5.
from karma-browserify.
The transform thing is driving me nuts. Can't for the life of me figure out why it's broken.
from karma-browserify.
Took care of transforms. Error handling is bizarre. This is bubbling up to the process:
https://github.com/substack/stream-splicer/blob/master/index.js#L131
It's not happening in a simplified example though
from karma-browserify.
Definitely a karma-bro bug and probably related to the way the bundle is deferred. Replacing util.defer(buildBundle, 1000)
with buildBundle
fixes the uncaught error event. It's then unhandled in https://github.com/Nikku/karma-bro/blob/browserify-5-support/lib/bro.js#L271
from karma-browserify.
@bendrucker I did some more work on the the branch.
I got all test cases green on a local development branch. Still the update behavior is absolutely broken and I need to find a way to fix that properly.
Updating the plug-in to work with browserify 5x is super hard. One problem is that browserify automagically builds bundles and reports errors (and assumes an error handler to be registered).
So there is no simple build-after all files have been added as in browserify 4.x.
I hope to find some more time to look into that this weekend.
from karma-browserify.
Sounds good. Will be curious to see what you've done thus far when you have a chance to push.
from karma-browserify.
Update the branch. Tests green but actual usage is still totally broken. Lets move the discussion to #18.
from karma-browserify.
Related Issues (20)
- intellij karma runner doesn't use watchify for bundle rebuild HOT 3
- Cannot read property 'bundleFile' of undefined HOT 2
- Error: Cannot find module HOT 2
- Use global transforms HOT 4
- ERROR [framework.browserify]: Error: Cannot find module HOT 2
- attempting to use node-underscorify with karma-browserify fails HOT 2
- Missing repo nikku/node-browserify breaks older versions (<4.0) HOT 1
- Karma not working with Firefox(FirefoxHeadless) when loading with html page. HOT 1
- Unable to browserify file HOT 1
- Install issues due to browserify peerDependecy condition HOT 1
- karma-browserify HOT 1
- lodash vulnerability reported by "npm audit" HOT 1
- When packaged, my test coverage is always 100% HOT 4
- release with PhantomJS removed? HOT 1
- promisify is not a function HOT 2
- Using karma-browserify with WASM HOT 2
- Cannot use import statement outside a module only on karma-browserify HOT 3
- Support for Browserify v17 HOT 2
- Breaking change coming for karma-browserify/lib/preprocessor.js HOT 4
- Support watchify <= 4 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from karma-browserify.