Commit 9c7fa4a
authored
Add object comparision method 'deepStrictEqual' in node test module of part 4.5 exercise
Currently used method `strictEqual` does not work for object comparison when asserting using node test.
`deepStrictEqual` is to be used for object comparisons.
Thus updated the section 4.5 with note describing the use-case of both these methods and attached stack overflow answer comparing various assert module function.1 parent af82c81 commit 9c7fa4a
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
| 751 | + | |
| 752 | + | |
751 | 753 | | |
752 | 754 | | |
753 | 755 | | |
| |||
0 commit comments