mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 12:40:08 +08:00
82e7a276a3
Summary: Move the base Jasmine spec runner into isomorphic-core to prevent code duplication. Jasmine will look for the config file relative to the directory it's being run in though, so we need to symlink the config file into each package that will need it. Test Plan: Run tests once the suites are integrated Reviewers: evan, spang, juan Reviewed By: spang, juan Differential Revision: https://phab.nylas.com/D4056
24 lines
1 KiB
JavaScript
24 lines
1 KiB
JavaScript
/* eslint global-require: 0 */
|
|
module.exports = {
|
|
Provider: {
|
|
Gmail: 'gmail',
|
|
IMAP: 'imap',
|
|
},
|
|
Imap: require('imap'),
|
|
Errors: require('./src/errors'),
|
|
IMAPErrors: require('./src/imap-errors'),
|
|
loadModels: require('./src/load-models'),
|
|
AuthHelpers: require('./src/auth-helpers'),
|
|
PromiseUtils: require('./src/promise-utils'),
|
|
DatabaseTypes: require('./src/database-types'),
|
|
IMAPConnection: require('./src/imap-connection'),
|
|
IMAPConnectionPool: require('./src/imap-pool'),
|
|
SendmailClient: require('./src/sendmail-client'),
|
|
DeltaStreamBuilder: require('./src/delta-stream-builder'),
|
|
HookTransactionLog: require('./src/hook-transaction-log'),
|
|
HookIncrementVersionOnSave: require('./src/hook-increment-version-on-save'),
|
|
BackoffScheduler: require('./src/backoff-schedulers').BackoffScheduler,
|
|
ExponentialBackoffScheduler: require('./src/backoff-schedulers').ExponentialBackoffScheduler,
|
|
MetricsReporter: require('./src/metrics-reporter').default,
|
|
executeJasmine: require('./spec/jasmine/execute').default,
|
|
}
|