mirror of
https://github.com/mudita/mudita-center.git
synced 2025-12-23 22:28:03 -05:00
25 lines
537 B
JavaScript
25 lines
537 B
JavaScript
require("@testing-library/jest-dom")
|
|
require("jest-styled-components")
|
|
require("reflect-metadata")
|
|
const toBeTranslationKey = require("./testing-support/jestMatchers/to-be-translation-key")
|
|
|
|
jest.mock("Core/device/strategies/pure.strategy", () => {
|
|
return {
|
|
PureStrategy: class PureStrategy {
|
|
constructor() {}
|
|
connect() {}
|
|
off() {}
|
|
offCommunicationEvent() {}
|
|
on() {}
|
|
onCommunicationEvent() {}
|
|
request() {}
|
|
},
|
|
}
|
|
})
|
|
|
|
expect.extend({
|
|
toBeTranslationKey,
|
|
})
|
|
|
|
jest.mock("@orama/orama")
|