2018-12-29 01:27:37 +01:00
|
|
|
import Application from '../app';
|
|
|
|
import config from '../config/environment';
|
|
|
|
import { setApplication } from '@ember/test-helpers';
|
|
|
|
import { start } from 'ember-qunit';
|
|
|
|
|
2019-02-23 22:43:53 +01:00
|
|
|
document.addEventListener('securitypolicyviolation', function({ blockedURI, violatedDirective }) {
|
|
|
|
throw new Error(
|
|
|
|
'Content-Security-Policy violation detected: ' +
|
|
|
|
`Violated directive: ${violatedDirective}. ` +
|
|
|
|
`Blocked URI: ${blockedURI}`
|
|
|
|
);
|
|
|
|
});
|
|
|
|
|
2018-12-29 01:27:37 +01:00
|
|
|
setApplication(Application.create(config.APP));
|
2014-07-06 17:37:54 +02:00
|
|
|
|
2017-07-29 15:00:11 +02:00
|
|
|
start();
|