emberjs/ember-test-helpers

`onerror` should not be cached on load

wagenet opened this issue · 1 comments

Instead, it should be cached the first time setupOnerror is called.

See emberjs/ember-qunit#818.

In general, I think its fine to change where we cache it but we definitely need to do it before setupOnerror is called the first time.

We can do it in setupContext.