text: import Application from '@ember/application';
  
  import { initialize } from 'dummy/instance-initializers/resolver-hot-loader-patch';
  import { module, test } from 'qunit';
  import { run } from '@ember/runloop';
  
  module(
    'Unit | Instance Initializer | resolver-hot-loader-patch',
    function (hooks) {
      hooks.beforeEach(function () {
        this.TestApplication = Application.extend();
        this.TestApplication.instanceInitializer({
          name: 'initializer under test',
          initialize,
        });
        this.application = this.TestApplication.create({ autoboot: false });
        this.instance = this.application.buildInstance();
      });
      hooks.afterEach(function () {
        run(this.application, 'destroy');
        run(this.instance, 'destroy');
      });
  
      // Replace this with your real tests.
      test('it works', async function (assert) {
        await this.instance.boot();
  
        assert.ok(true);
      });
    }
  );
  