Skip to content

Commit

Permalink
test: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Jun 20, 2024
1 parent 42d7a2b commit 9fc3987
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/unit/config/configTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down Expand Up @@ -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(() => {
Expand Down

0 comments on commit 9fc3987

Please sign in to comment.