* Add a callback that's triggered when all tests are complete. * * @param {Function} callback - Callback function, called with an * array of :js:class:`Test` objects, a :js:class:`TestsStatus` * object and an array of :js:class:`AssertRecord` objects. If the * debug setting
(callback)
| 4247 | * empty. |
| 4248 | */ |
| 4249 | function add_completion_callback(callback) { |
| 4250 | tests.all_done_callbacks.push(callback); |
| 4251 | } |
| 4252 | |
| 4253 | expose(add_start_callback, 'add_start_callback'); |
| 4254 | expose(add_test_state_callback, 'add_test_state_callback'); |
no test coverage detected