* Asserts true. * @example ok( $("a").size() > 5, "There must be at least 5 anchors" );
(a, msg)
| 481 | * @example ok( $("a").size() > 5, "There must be at least 5 anchors" ); |
| 482 | */ |
| 483 | function ok(a, msg) { |
| 484 | config.assertions.push({ |
| 485 | result: !!a, |
| 486 | message: msg |
| 487 | }); |
| 488 | } |
| 489 | |
| 490 | /** |
| 491 | * Asserts that two arrays are the same |
no test coverage detected