From 5de04443a12bb23797a66d7fa902cd031e7e70f2 Mon Sep 17 00:00:00 2001 From: fareed069417 Date: Tue, 22 Nov 2022 22:36:06 +0530 Subject: [PATCH] Unit Test Cases pass --- src/__tests__/Init.test.ts | 2 +- src/test-helpers/setupTests.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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() });