• Kyle Keating's avatar
    Add assert-methods.js module · ec3d81f3
    Kyle Keating authored
    - This is used to patch in helper methods into the global assert object such as `rejects()` for testing.
    - The new rejects method gives tests the ability to easily test error results in async methods that return a promise.
    - Replace all async try/catch tests with assert.rejects
    Signed-off-by: 's avatarKyle Keating <kkeating@hypothes.is>
    ec3d81f3
Name
Last commit
Last update
..
integration Loading commit data...
annotation-fixtures.js Loading commit data...
bootstrap.js Loading commit data...
build-thread-test.js Loading commit data...
cross-origin-rpc-test.js Loading commit data...
fake-redux-store.js Loading commit data...
get-api-url-test.js Loading commit data...
group-fixtures.js Loading commit data...
host-config-test.js Loading commit data...
markdown-commands-test.js Loading commit data...
media-embedder-test.js Loading commit data...
render-markdown-test.js Loading commit data...
search-client-test.js Loading commit data...
service-config-test.js Loading commit data...
virtual-thread-list-test.js Loading commit data...
websocket-test.js Loading commit data...