karma-runner / karma-runner/karma

"a" start ./test/karma.conf.js was unexpected at this time."

Open
#2,572 24 comments 0 reactions 0 assignees View on GitHub
needs: info type: bug-upstream windows
Dominant language
JavaScript
Stars
12k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### Expected behaviour
when I ran this script in package.json
`"scripts": {
"test": "karma start ./test/karma.conf.js", `
with yarn test or npm run test it should be able to find karma and run the script

### Actual behaviour
Throw an error:
`yarn test v0.20.3
$ karma start ./test/karma.conf.js
a" start ./test/karma.conf.js was unexpected at this time.
`
### Environment Details
**karma** : _1.4.1_
**node**: _7.2.0_
**yarn**: _0.20.3_
**npm**: _3.10.9_

> (The issue is fixed when I downgrade to Karma 1.3.0)

### Steps to reproduce the behaviour

1. Install Latest version of Karma
2. Match your yarn or npm with provided version
3. Run the test

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.