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

improve tests #4

Merged
merged 3 commits into from
Sep 26, 2016
Merged

improve tests #4

merged 3 commits into from
Sep 26, 2016

Conversation

derhuerst
Copy link
Contributor

This PR intends to make testing easier. This includes nice reports if some assertion fails (thanks to tape).

- `roundObj` doesn't mutate the object passed anymore
- `checkInverse` -> `assertInverse`
- `assert.deepEqual` -> `assert.deepStrictEqual`
- `assert(a === b)` -> `assert.strictEqual(a, b)`
- remove `test.js` from the NPM bundle
@derhuerst
Copy link
Contributor Author

buuuuuuump 😛

@juliuste juliuste merged commit 61cd486 into juliuste:master Sep 26, 2016
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

2 participants