The RFC essentially makes rendering async, which means that if you were doing:
assert.expectAssertion(() => {
this.render(hbs`stuff here`);
});
Then the codemod "helpfully" transforms that into:
assert.expectAssertion(async () => {
await render(hbs`stuff here`);
});
But this library always expects the callback to trigger assertions synchronously.
Further reading:
The RFC essentially makes rendering async, which means that if you were doing:
Then the codemod "helpfully" transforms that into:
But this library always expects the callback to trigger assertions synchronously.
Further reading: