open-vault/ui/tests/test-helper.js
Matthew Irish 0ccc8467ec
UI ember engines (#6718)
Adds replication engine and core in-repo addon
2019-05-13 14:05:25 -05:00

15 lines
479 B
JavaScript

import Application from '../app';
import config from '../config/environment';
import { setApplication } from '@ember/test-helpers';
import { start } from 'ember-qunit';
import './helpers/flash-message';
import preloadAssets from 'ember-asset-loader/test-support/preload-assets';
import manifest from 'vault/config/asset-manifest';
preloadAssets(manifest).then(() => {
setApplication(Application.create(config.APP));
start({
setupTestIsolationValidation: true,
});
});