-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
problem using karma init my.conf.js #663
Comments
What version of karma are you using ? |
I have really no idea how can |
I installed it moments before so whatever version was abailable on the same day I filed. I'll confirm the version when I'm on that computer again.
On Jul 29, 2013, at 1:56 AM, Vojta Jina [email protected] wrote:
|
The problem I got was an outdated init file (with the old syntax) any pointers on that? |
➺ karma --version On Mon, Jul 29, 2013 at 1:56 AM, Vojta Jina [email protected]:
|
@yoshuawuyts @jmaclabs this really makes no sense to me. Can what kind of pattern did you enter ? Just empty string to move on next question ? What system are you on ? Sorry for all the questions, but it's pretty weird that |
Pattern: single tap of my space bar Mac OSX 10.8
On Jul 29, 2013, at 10:33 PM, Vojta Jina [email protected] wrote:
|
Woow, space does it ! I can reproduce that too. Will fix it. On Tue, Jul 30, 2013 at 1:33 AM, John McLaughlin
|
jmac: /usr/local/lib/node_modules/karma
➺ karma init my.conf.js
Which testing framework do you want to use ?
Press tab to list possible options. Enter to move to the next question.
Do you want to use Require.js ?
This will add Require.js adapter into files.
Press tab to list possible options. Enter to move to the next question.
Do you want to capture a browser automatically ?
Press tab to list possible options. Enter empty string to move to the next question.
Which files do you want to test ?
You can use glob patterns, eg. "js/_.js" or "test/__/_Spec.js".
Enter empty string to move to the next question.
/usr/local/lib/node_modules/karma/lib/init.js:47
if (!glob.sync(value).length) {
^
TypeError: Cannot read property 'length' of undefined
at Object.validatePattern as validate
at onLine (/usr/local/lib/node_modules/karma/lib/init.js:158:25)
at Interface.EventEmitter.emit (events.js:95:17)
at Interface._onLine (readline.js:202:10)
at Interface._line (readline.js:531:8)
at Interface._ttyWrite (readline.js:760:14)
at ReadStream.onkeypress (readline.js:99:10)
at ReadStream.EventEmitter.emit (events.js:117:20)
at emitKey (readline.js:1095:12)
at ReadStream.onData (readline.js:840:14)
The text was updated successfully, but these errors were encountered: