Commit ac91921b authored by Robert Knight's avatar Robert Knight

Remove a superfluous assert

The stub is re-initialized for every test, so there is no point in
checking at the start.
parent 9e729ac8
...@@ -56,7 +56,6 @@ describe('features - annotation layer', function() { ...@@ -56,7 +56,6 @@ describe('features - annotation layer', function() {
}); });
it('should warn when accessing unknown flags', function() { it('should warn when accessing unknown flags', function() {
assert.notCalled(fakeWarnOnce);
assert.isFalse(features.flagEnabled('unknown_feature')); assert.isFalse(features.flagEnabled('unknown_feature'));
assert.calledOnce(fakeWarnOnce); assert.calledOnce(fakeWarnOnce);
assert.calledWith(fakeWarnOnce, 'looked up unknown feature'); assert.calledWith(fakeWarnOnce, 'looked up unknown feature');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment