QUnit.extend( target, mixin )
Description: Copy the properties defined by the mixin object into the target object
This method will modify the target object to contain the "own" properties defined by the mixin. If the mixin object specifies the value of any attribute as undefined, this property will instead be removed from the target object.
Example:
Define a custom mod2 assertion that tests if the provided numbers are equivalent in modulo 2.
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
|