Skip to content

SyntaxError in karma.conf.js #248

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

Closed
melo0187 opened this issue Jun 2, 2014 · 4 comments
Closed

SyntaxError in karma.conf.js #248

melo0187 opened this issue Jun 2, 2014 · 4 comments

Comments

@melo0187
Copy link

melo0187 commented Jun 2, 2014

When you generate an app, the karma.conf.js file you get has a syntax error on line 46, where it misses a comma:

    // Continuous Integration mode
    // if true, it capture browsers, run tests and exit
    singleRun: false

    colors: true,
@JaKXz JaKXz added the bug label Jun 2, 2014
@melo0187
Copy link
Author

melo0187 commented Jun 3, 2014

I had a look at the generator's source and I have to admit I have no idea where the karma.conf.js file is coming from. So this won't be trivial to solve for me. Not sure where to go from here.

@Nowaker
Copy link

Nowaker commented Jun 7, 2014

I generated a new app just now and the comma is already there. Probably fixed in the meantime?

@Nowaker
Copy link

Nowaker commented Jun 7, 2014

@melo0187 It's probably generated by a different generator - that's why karma.conf.js is not in this repo but https://github.com/yeoman/generator-karma.

// Karma configuration
// http://karma-runner.github.io/0.12/config/configuration-file.html
// Generated on 2014-06-07 using
// generator-karma 0.8.2

@JaKXz JaKXz removed the bug label Jun 7, 2014
@JaKXz
Copy link
Collaborator

JaKXz commented Jun 7, 2014

@Nowaker good catch, the syntax error was fixed in this commit.

@JaKXz JaKXz closed this as completed Jun 7, 2014
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

3 participants