Skip to content

Commit

Permalink
Fixed conflicts : jest.config.js & OrganizationScreen.test.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
rafidoth committed Dec 20, 2024
1 parent 11758ef commit 6fc43e9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions __mocks__/styleMock.ts

This file was deleted.

2 changes: 0 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ export default {
'\\.svg\\?react$': '<rootDir>/scripts/__mocks__/fileMock.js',
'\\.svg$': '<rootDir>/scripts/__mocks__/fileMock.js',
'^@pdfme/generator$': '<rootDir>/scripts/__mocks__/@pdfme/generator.ts',
'\\.module\\.css$': 'identity-obj-proxy', // mocking css module
'\\.(css|less|scss|sass)$': '<rootDir>/__mocks__/styleMock.ts', // mocking css
},
moduleFileExtensions: [
'web.js',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 6fc43e9

Please sign in to comment.