15 lines
366 B
Plaintext
15 lines
366 B
Plaintext
![]() |
=== Highlighting
|
||
|
|
||
|
If a Chai function gets actual and expected values as arguments:
|
||
|
|
||
|
* Primary: second argument to swap
|
||
|
* Secondary: first argument to swap
|
||
|
** message: 'Other argument to swap.'
|
||
|
|
||
|
If expect(actual).someMethod(expected) is used:
|
||
|
|
||
|
* Primary: The argument of the assertion function (ex: "equal")
|
||
|
* Secondary: The argument given to "expect"
|
||
|
** no message
|
||
|
|