-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Updating grunt-karma to use the new API interface from Karma
- Loading branch information
1 parent
2e33b66
commit 5d1881c
Showing
3 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
var server = require('karma').server | ||
var Server = require('karma').Server | ||
var data = JSON.parse(process.argv[2]) | ||
var server = new Server(data) | ||
|
||
server.start(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5d1881c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was trying this out last night as well, were you getting the following warning?
Cannot read property 'mtime' of undefined.
5d1881c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SomethingSexy Sounds like karma-runner/karma#1494, any info you have on this, I much appreciate it
5d1881c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ya it looks like that issue. I am still digging in. This are the karma specific dependencies I am running now
I am also running via requirejs as well (although maybe that as obvious :) )