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

How to configure it with karma.conf? #47

Open
eatsjobs opened this issue Jul 18, 2016 · 1 comment
Open

How to configure it with karma.conf? #47

eatsjobs opened this issue Jul 18, 2016 · 1 comment

Comments

@eatsjobs
Copy link

browserify: {
            debug: true,
            transform: [
                'babelify',
                ['envify', 'browserify-istanbul', { instrumenter: require('isparta') }]
            ]
        }

I tried somenthing like this but i got an error:
node_modules/karma-browserify/node_modules/browserify/index.js:313 opts._flags = '_flags' in opts ? opts._flags : self._options;Cannot use 'in' operator to search for '_flags' in envify

am i missing some configuration?

@eatsjobs
Copy link
Author

eatsjobs commented Jul 18, 2016

browserify: {
            debug: true,
            transform: [
                'envify',
                'babelify',
                [ 'browserify-istanbul', { instrumenter: require('isparta') }]
            ]
        }

Sorry my fault. in this way works. Could be added this in the README.md? it can be useful for others i think

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

1 participant