initial commit
This commit is contained in:
16
tests/test-helper.js
Normal file
16
tests/test-helper.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import '@warp-drive/ember/install';
|
||||
import Application from 'frontend-lblod-chat/app';
|
||||
import config from 'frontend-lblod-chat/config/environment';
|
||||
import * as QUnit from 'qunit';
|
||||
import { setApplication } from '@ember/test-helpers';
|
||||
import { setup } from 'qunit-dom';
|
||||
import { start as qunitStart, setupEmberOnerrorValidation } from 'ember-qunit';
|
||||
|
||||
export function start() {
|
||||
setApplication(Application.create(config.APP));
|
||||
|
||||
setup(QUnit.assert);
|
||||
setupEmberOnerrorValidation();
|
||||
|
||||
qunitStart();
|
||||
}
|
||||
Reference in New Issue
Block a user