diff --git a/src/__tests__/Init.test.ts b/src/__tests__/Init.test.ts index 99fb405..322a290 100644 --- a/src/__tests__/Init.test.ts +++ b/src/__tests__/Init.test.ts @@ -1,6 +1,6 @@ import { fetchExternalApi } from '../init'; -const SUCCESS_DOMAIN = 'meet.jit.si'; +const SUCCESS_DOMAIN = 'meethour.io'; const ERROR_DOMAIN = 'error'; /* eslint-disable no-undef */ diff --git a/src/test-helpers/setupTests.js b/src/test-helpers/setupTests.js index 82edfc9..bf9443b 100644 --- a/src/test-helpers/setupTests.js +++ b/src/test-helpers/setupTests.js @@ -1,4 +1,4 @@ -import { configure } from 'enzyme'; -import Adapter from 'enzyme-adapter-react-16'; +const enzyme = require('enzyme'); +const Adapter = require('enzyme-adapter-react-16'); -configure({ adapter: new Adapter() }); +enzyme.configure({ adapter: new Adapter() });