The expectAssertion that exists in embers own test suite has some special behavior for when running in production mode. It adds an assert.ok(true, 'assertions stripped in prod mode') so that when the test suite runs in prod the assert.expect counts are not thrown off.
The expectAssertion that exists in embers own test suite has some special behavior for when running in production mode. It adds an
assert.ok(true, 'assertions stripped in prod mode')so that when the test suite runs in prod theassert.expectcounts are not thrown off.