Comparing version 0.1.1 to 1.0.0
{ | ||
"name": "expect", | ||
"version": "0.1.1", | ||
"version": "1.0.0", | ||
"description": "Write better assertions", | ||
"main": "expect.js", | ||
"main": "modules/expect.js", | ||
"dependencies": {}, | ||
@@ -11,3 +11,3 @@ "devDependencies": { | ||
"scripts": { | ||
"test": "mocha spec" | ||
"test": "mocha \"modules/**/__tests__/**/*-test.js\"" | ||
}, | ||
@@ -24,8 +24,8 @@ "keywords": [ | ||
"type": "git", | ||
"url": "git://github.com/mjijackson/expect.git" | ||
"url": "git://github.com/mjackson/expect.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/mjijackson/expect/issues" | ||
"url": "https://github.com/mjackson/expect/issues" | ||
}, | ||
"homepage": "https://github.com/mjijackson/expect" | ||
"homepage": "https://github.com/mjackson/expect" | ||
} |
@@ -1,6 +0,8 @@ | ||
[expect](https://github.com/mjijackson/expect) is a thin wrapper around node's [assert](http://nodejs.org/api/assert.html) module that lets you write better assertions. | ||
[![build status](https://secure.travis-ci.org/mjackson/expect.png)](http://travis-ci.org/mjackson/expect) | ||
[expect](https://github.com/mjackson/expect) is a thin wrapper around node's [assert](http://nodejs.org/api/assert.html) module that lets you write better assertions. | ||
When you use expect, you write assertions similarly to how you would say them, e.g. "I expect this value to be equal to 3" or "I expect this array to contain 3". When you write assertions in this way, you don't need to remember the order of actual and expected arguments to functions like `assert.equal`, which helps you write better tests. | ||
### API | ||
### Usage | ||
@@ -85,4 +87,21 @@ #### expect(object).toBe(value, [message]) | ||
### Installation | ||
Using [npm](https://www.npmjs.org/): | ||
$ npm install expect | ||
### Issues | ||
Please file issues on the [issue tracker on GitHub](https://github.com/machjs/mach/issues). | ||
### Tests | ||
To run the tests in node: | ||
$ npm install | ||
$ npm test | ||
### License | ||
MIT | ||
[MIT](http://opensource.org/licenses/MIT) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
11521
11
191
0
107
1