Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ava test runner and built-in assertions library #252

Merged
merged 1 commit into from
Sep 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Next
### Dependencies upgrades

* Use ava instead of mocha as test runner
* Use ava built-in assertions library instead of chai

## 2.5.0
### Dependencies upgrades

Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Fork the repo on github and send a pull requests with topic branches to the ```d
* Fork and clone the repository (`develop` branch).
* Run `npm install` for dependencies.
* Run `npm test` to execute all specs.
* Run `npm run test-watch` to auto execute all specs when a file change.
* Run `npm run lint` to verify that all code pass our linting rules.

## Updating the docs
Expand Down
3,119 changes: 2,817 additions & 302 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@
},
"scripts": {
"pretest": "npm run lint",
"test": "nyc mocha",
"posttest": "nyc check-coverage",
"test": "nyc ava",
"lint": "eslint .",
"fix": "eslint . --fix",
"test-watch": "mocha --watch --reporter=spec",
"docs-gen": "doctoc README.md --github --no-title",
"clean-install": "rm -rf node_modules && npm install"
},
Expand Down Expand Up @@ -50,15 +47,14 @@
"wreck": "^14.0.2"
},
"devDependencies": {
"chai": "^4.2.0",
"ava": "^2.4.0",
"chance": "^1.0.18",
"chance-access-token": "^1.0.1",
"doctoc": "^1.4.0",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.0.0",
"eslint-plugin-import": "^2.9.0",
"lodash": "^4.17.15",
"mocha": "^6.2.0",
"nock": "^10.0.6",
"nyc": "^14.1.1"
},
Expand Down
3 changes: 0 additions & 3 deletions test/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@
"rules": {
"max-len": "off",
"object-curly-newline": "off"
},
"env": {
"mocha": true
}
}
Loading