diff --git a/test/e2e/e2e.spec.js b/test/e2e/e2e.spec.js index 7d7a056b..5ff01a30 100644 --- a/test/e2e/e2e.spec.js +++ b/test/e2e/e2e.spec.js @@ -2,10 +2,9 @@ import { Application } from 'spectron' import electronPath from 'electron' import path from 'path' +jest.setTimeout(10000) jest.unmock('electron') -jasmine.DEFAULT_TIMEOUT_INTERVAL = 15000 - describe('main window', function spec() { beforeEach(() => { this.app = new Application({ diff --git a/test/unit/__helpers__/intl-enzyme-test-helper.js.js b/test/unit/__helpers__/intl-enzyme-test-helper.js similarity index 100% rename from test/unit/__helpers__/intl-enzyme-test-helper.js.js rename to test/unit/__helpers__/intl-enzyme-test-helper.js diff --git a/test/unit/components/Form/Pay.spec.js b/test/unit/components/Form/Pay.spec.js index 45f3e0fc..8afeab72 100644 --- a/test/unit/components/Form/Pay.spec.js +++ b/test/unit/components/Form/Pay.spec.js @@ -4,7 +4,7 @@ import Adapter from 'enzyme-adapter-react-16' import Pay from 'components/Form/Pay' -import { mountWithIntl } from '../../__helpers__/intl-enzyme-test-helper.js' +import { mountWithIntl } from '../../__helpers__/intl-enzyme-test-helper' configure({ adapter: new Adapter() }) diff --git a/test/unit/components/Form/Request.spec.js b/test/unit/components/Form/Request.spec.js index bc98c7fb..0e1a2fd2 100644 --- a/test/unit/components/Form/Request.spec.js +++ b/test/unit/components/Form/Request.spec.js @@ -4,7 +4,7 @@ import Adapter from 'enzyme-adapter-react-16' import Request from 'components/Form/Request' -import { mountWithIntl } from '../../__helpers__/intl-enzyme-test-helper.js' +import { mountWithIntl } from '../../__helpers__/intl-enzyme-test-helper' configure({ adapter: new Adapter() }) diff --git a/test/unit/components/LoadingBolt.spec.js b/test/unit/components/LoadingBolt.spec.js index 1d2fc2d6..ad9f3fee 100644 --- a/test/unit/components/LoadingBolt.spec.js +++ b/test/unit/components/LoadingBolt.spec.js @@ -6,7 +6,7 @@ import Isvg from 'react-inlinesvg' import LoadingBolt from 'components/LoadingBolt' import cloudboltIcon from 'icons/cloudbolt.svg' -import { mountWithIntl } from '../__helpers__/intl-enzyme-test-helper.js' +import { mountWithIntl } from '../__helpers__/intl-enzyme-test-helper' configure({ adapter: new Adapter() })