• Robert Knight's avatar
    Fix a silently failing test · 99bdfd8e
    Robert Knight authored
    The `HypothesisAppController#login()` method returns a Promise and calls
    `fakeStore.clearGroups` asynchronously. This means we need to wait for
    the result before checking the spy, and return the result in the test
    case so Mocha knows when the test has finished.
    99bdfd8e
hypothesis-app-test.js 15.1 KB