mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-03 16:10:05 +00:00
Migrate to stylistic
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -247,11 +247,11 @@ describe("MessageComposer", () => {
|
||||
});
|
||||
|
||||
describe("UIStore interactions", () => {
|
||||
let resizeCallback: Function;
|
||||
let resizeCallback: (key: string, data: object) => void;
|
||||
|
||||
beforeEach(() => {
|
||||
jest.spyOn(UIStore.instance, "on").mockImplementation(
|
||||
(_event: string | symbol, listener: Function): any => {
|
||||
(_event: string | symbol, listener: (key: string, data: object) => void): any => {
|
||||
resizeCallback = listener;
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user