Nearly all of our tests call assertions synchronously - that is, they aren't wrapped in callbacks or other scenarios where it's possible that one or more of the assertions won't get called. As a result, using assert.expect becomes unnecessary, since we'll never have a scenario where only some of the assertions get run. We should remove assert.expect from all tests of this nature to make our tests less brittle to future changes.
Nearly all of our tests call assertions synchronously - that is, they aren't wrapped in callbacks or other scenarios where it's possible that one or more of the assertions won't get called. As a result, using
assert.expectbecomes unnecessary, since we'll never have a scenario where only some of the assertions get run. We should removeassert.expectfrom all tests of this nature to make our tests less brittle to future changes.