7266ac9b37
* Initial commit after nx create * Add .env files * Add working commit for poc * Make deal-ticket-manager.tsx accept children as props and export more components to be consumed by external apps * Add stepper component to simple trading app * Add basic prototype for simple trading app with stepper component * Remove unnecessary flags and env variables * Change simple trading app port * Refactor deal ticket container to be more dry * Refactor deal ticket to be more dry * Refactor app loader, remove tendermint socket and change providers for App.tsx in simple trading app * Remove example cypress files and change config * Fix linting issues
16 lines
408 B
TypeScript
16 lines
408 B
TypeScript
import '@testing-library/jest-dom';
|
|
|
|
Object.defineProperty(window, 'matchMedia', {
|
|
writable: true,
|
|
value: jest.fn().mockImplementation((query) => ({
|
|
matches: false,
|
|
media: query,
|
|
onchange: null,
|
|
addListener: jest.fn(), // Deprecated
|
|
removeListener: jest.fn(), // Deprecated
|
|
addEventListener: jest.fn(),
|
|
removeEventListener: jest.fn(),
|
|
dispatchEvent: jest.fn(),
|
|
})),
|
|
});
|