Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Move karma.conf.js to root of repo #32

Merged
merged 2 commits into from
Jul 16, 2016
Merged

Conversation

flut1
Copy link
Contributor

@flut1 flut1 commented Jul 16, 2016

Move the karma.conf.js configuration file to the root of the repository, for better karma support in Webstorm. Webstorm can't currently handle karma configuration in a subfolder well.

Move the karma.conf.js configuration file to the root of the
repository, for better karma support in Webstorm. Webstorm can't
currently handle karma configuration in a subfolder well.
@@ -10,7 +10,7 @@
"typings": "typings install",
"test": "npm run validate",
"validate": "npm-run-all -p validate-webpack lint test-unit -s check-coverage",
"test-unit": "karma start config/karma.conf.js --single-run --browsers PhantomJS",
"test-unit": "karma start karma.conf.js --single-run --browsers PhantomJS",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can leave the reference to karma.conf.js out here, as it's picked up by default (just like the tsconfig.json in the tsc).

The karma.conf.js no longer needs a reference in the npm test-unit
script, because it is in the default location.
@ThaNarie ThaNarie merged commit 3e257d9 into master Jul 16, 2016
@ThaNarie ThaNarie deleted the feature/karma-conf-root branch July 16, 2016 11:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants