Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

Karma support #37

Merged
merged 9 commits into from
Oct 30, 2016
Merged

Karma support #37

merged 9 commits into from
Oct 30, 2016

Conversation

egoist
Copy link
Owner

@egoist egoist commented Oct 27, 2016

This is a new command: vbuild test or vbuild test [files] [options]

This feature does no introduce any new dependencies, all those stuffs require to install locally in your project, by default it uses:

  • 'Chrome', 'PhantomJS'
  • 'mocha', 'chai'
  • webpack 2.1.0-beta.22

So you need to install these if you use default options:

{
    "chai": "^3.5.0",
    "karma": "^1.3.0",
    "karma-chai": "^0.1.0",
    "karma-chrome-launcher": "^2.0.0",
    "karma-mocha": "^1.2.0",
    "karma-phantomjs-launcher": "^1.0.2",
    "karma-sourcemap-loader": "^0.3.7",
    "karma-webpack": "^1.8.0",
    "mocha": "^3.1.2",
    "webpack": "2.1.0-beta.22"
}

@egoist egoist merged commit 13f07d8 into dev Oct 30, 2016
@egoist egoist deleted the karma branch October 30, 2016 12:08
egoist added a commit that referenced this pull request Oct 30, 2016
* throw error as module not found

* use esnext-browser

* -> v3.0.1

* fix typo

* -> v3.0.2

* support karma

* fix lint

* support external karma config

* use as a command
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.

None yet

1 participant