Assertion after the final `assert.async` was resolved

I’m getting the following error

Assertion after the final `assert.async` was resolved

When running the following test:

import { moduleForComponent, test } from 'ember-qunit';
import hbs from 'htmlbars-inline-precompile';

moduleForComponent('artist-tile', 'Integration | Component | artist tile', {
  integration: true
});

test('it renders', function(assert) {
  assert.expect(2);
  
  this.render(hbs`{{artist-tile}}`);

  assert.equal(this.$().text().trim(), '');

  // Template block usage:
  this.render(hbs`
    {{#artist-tile}}
      template block text
    {{/artist-tile}}
  `);

  assert.equal(this.$().text().trim(), 'template block text');
});

Here’s the error in full:

not ok 61 PhantomJS 1.9 - Integration | Component | artist tile: it renders
---
    actual: >
        null
    message: >
        Assertion after the final `assert.async` was resolved
    Log: |
...

Any idea what I’m doing wrong?

I’ve unfortunately seen this error while writing component integration tests when there was an unrelated error in code somewhere in my component. I suggest you first try running ember test --server and look for errors in the console.

This just started happening with Ember Beta. It works fin in 1.13 and 2.0 only Beta is failing.

(note: at the time of this post ember beta resolved to a3d1d281f7).

What version of ember/testem/qunit/ember-qunit/ember-cli-qunit and ember-cli-htmlbars-inline-precompile are you using in the example above?