From 9fc3987615c2b4c78b7cd0797bb1e490d98df55f Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Thu, 20 Jun 2024 09:56:16 -0600 Subject: [PATCH] test: clean up --- test/unit/config/configTest.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/unit/config/configTest.ts b/test/unit/config/configTest.ts index d815f5115..8d5bac9fb 100644 --- a/test/unit/config/configTest.ts +++ b/test/unit/config/configTest.ts @@ -290,7 +290,8 @@ describe('Config', () => { beforeEach(() => { // @ts-expect-error because allowedProperties is protected originalAllowedProperties = Config.allowedProperties; - (Config as any).allowedProperties = []; + // @ts-expect-error because allowedProperties is protected + Config.allowedProperties = []; }); afterEach(() => { @@ -335,7 +336,8 @@ describe('Config', () => { beforeEach(() => { // @ts-expect-error because allowedProperties is protected originalAllowedProperties = Config.allowedProperties; - (Config as any).allowedProperties = []; + // @ts-expect-error because allowedProperties is protected + Config.allowedProperties = []; }); afterEach(() => {