diff --git a/__mocks__/styleMock.ts b/__mocks__/styleMock.ts deleted file mode 100644 index 663f4ebaa7..0000000000 --- a/__mocks__/styleMock.ts +++ /dev/null @@ -1,2 +0,0 @@ -// __mocks__/styleMock.js -module.exports = {}; diff --git a/jest.config.js b/jest.config.js index 12c262f737..d15ec53598 100644 --- a/jest.config.js +++ b/jest.config.js @@ -43,8 +43,6 @@ export default { '\\.svg\\?react$': '/scripts/__mocks__/fileMock.js', '\\.svg$': '/scripts/__mocks__/fileMock.js', '^@pdfme/generator$': '/scripts/__mocks__/@pdfme/generator.ts', - '\\.module\\.css$': 'identity-obj-proxy', // mocking css module - '\\.(css|less|scss|sass)$': '/__mocks__/styleMock.ts', // mocking css }, moduleFileExtensions: [ 'web.js', diff --git a/src/components/OrganizationScreen/OrganizationScreen.test.tsx b/src/components/OrganizationScreen/OrganizationScreen.test.tsx index bc9aef388d..0dfb6d7a14 100644 --- a/src/components/OrganizationScreen/OrganizationScreen.test.tsx +++ b/src/components/OrganizationScreen/OrganizationScreen.test.tsx @@ -80,7 +80,6 @@ describe('Testing OrganizationScreen', () => { const closeButton = screen.getByTestId('closeMenu'); fireEvent.click(closeButton); - // Check for contract class after closing expect(screen.getByTestId('mainpageright')).toHaveClass(styles.expand); const openButton = screen.getByTestId('openMenu');