-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9767c12
commit a195eeb
Showing
1 changed file
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
# Assert Equals | ||
A lightweight assert-equals function for use in inline testing. | ||
|
||
## Usage | ||
1. Save ```assert-equals.js``` to your project directory. | ||
2. Use ```const assertEquals = require('./[pathToFile]/assert-equals')``` to import the function. | ||
3. Test whether two values/objects are equal using ```assertEquals(valueA, valueB)```. |