From 85222228e57797da41aa214b99135f5248661ba9 Mon Sep 17 00:00:00 2001 From: Adrienne Walker Date: Fri, 27 Oct 2023 10:39:01 -0700 Subject: [PATCH] test: remove non-existent FileChanged event It looks like this was removed in: https://github.com/OverlayPlugin/OverlayPlugin/pull/165 --- types/event.d.ts | 5 ----- ui/test/test.ts | 4 ---- 2 files changed, 9 deletions(-) diff --git a/types/event.d.ts b/types/event.d.ts index 712213fe77..42634b8cd5 100644 --- a/types/event.d.ts +++ b/types/event.d.ts @@ -196,11 +196,6 @@ export interface EventMap { charName: string; }) => void; - 'FileChanged': (ev: { - type: 'FileChanged'; - file: string; - }) => void; - 'OnlineStatusChanged': (ev: { type: 'OnlineStatusChanged'; target: string; diff --git a/ui/test/test.ts b/ui/test/test.ts index bc5d445252..3a0354beae 100644 --- a/ui/test/test.ts +++ b/ui/test/test.ts @@ -175,8 +175,4 @@ addOverlayListener('onUserFileChanged', (e) => { console.log(`User file ${e.file} changed!`); }); -addOverlayListener('FileChanged', (e) => { - console.log(`File ${e.file} changed!`); -}); - void callOverlayHandler({ call: 'cactbotRequestState' });