mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-21 07:27:51 +08:00
15 lines
570 B
JavaScript
15 lines
570 B
JavaScript
/* eslint import/first: 0 */
|
|
|
|
// Swap out Node's native Promise for Bluebird, which allows us to
|
|
// do fancy things like handle exceptions inside promise blocks
|
|
import '../../src/promise-extensions';
|
|
|
|
import AppEnvClass from '../../src/app-env';
|
|
window.AppEnv = new AppEnvClass();
|
|
|
|
const loadSettings = AppEnv.getLoadSettings();
|
|
|
|
// This must be `required` instead of imported because
|
|
// AppEnv.initialize() must complete before `mailspring-exports` and other
|
|
// globals are available for import via es6 modules.
|
|
require('./spec-runner').default.runSpecs(loadSettings);
|