Skip to content

Commit

Permalink
chore(readme): explain Jasmine 1.3 vs 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtajina committed Feb 15, 2014
1 parent be8c690 commit f283556
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@

> Adapter for the [Jasmine](http://pivotal.github.io/jasmine/) testing framework.

## Installation

### Jasmine 1.3 ([docs](http://pivotal.github.io/jasmine/))

The easiest way is to keep `karma-jasmine` as a devDependency in your `package.json`.

```json
{
"devDependencies": {
"karma": "~0.10",
"karma-jasmine": "~0.1"
"karma-jasmine": "~0.1.0"
}
}
```
Expand All @@ -19,6 +23,25 @@ You can simple do it by:
npm install karma-jasmine --save-dev
```


### Jasmine 2.0 ([docs](http://jasmine.github.io/2.0/introduction.html))

The easiest way is to keep `karma-jasmine` as a devDependency in your `package.json`.
```json
{
"devDependencies": {
"karma": "~0.10",
"karma-jasmine": "~0.2.0"
}
}
```

You can simple do it by:
```bash
npm install karma-jasmine@2_0 --save-dev
```


## Configuration
```js
// karma.conf.js
Expand Down

0 comments on commit f283556

Please sign in to comment.