A deep recursive comparison assertion, working on primitive types, arrays and objects.
Similar to equal, compares the content given objects. Its also more strict than equal: Comparisons are done using ===.
Migration note: This method was named "same", which is now deprecated, after adopting CommonJS naming convetions.
Arguments:
| actual | Object | |
|---|---|---|
| The actual result | ||
| expected | Object | |
| The expected result | ||
| message (Optional) | String | |
| A message to display with the assertion result | ||
