You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _guides/installation.md
+7-37Lines changed: 7 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,47 +21,17 @@ that include Chai.
21
21
Package is available through [npm](http://npmjs.org):
22
22
23
23
```bash
24
-
npm install chai
25
-
```
26
-
27
-
Recommend adding it to `package.json` devDependencies using a `*` as the version tag.
28
-
This will ensure that you always have the most recent version after running `npm install`,
29
-
which can be especially powerful when paired with a continuous integration tool.
30
-
31
-
```javascript
32
-
"devDependencies": {
33
-
"chai":"*",
34
-
"mocha":"*"
35
-
}, "//":"mocha is our preference, but you can use any test runner you like"
24
+
npm install --save-dev chai
36
25
```
37
26
38
27
### Browser
39
28
40
-
Include the chai browser build in your testing suite.
29
+
Include the chai browser build in your testing suite. You can either link to your own self-hosted version of chai or through a NPM CDN like [jsDelivr](https://www.jsdelivr.com/) or [unpkg](https://www.unpkg.com/).
0 commit comments