Skip to content

Commit

Permalink
force compile
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz authored Jan 6, 2024
1 parent 0edf09b commit 36d1af9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/poisoning/test/main.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('assertNoPoisoning', () => {
it('should throw an Error if global altered via globalThis and be able to revert the change', () => {
// Arrange
const F = globalThis.Function;
globalThis.Function = jest.fn();
globalThis.Function = jest.fn() as any;

// Act / Assert
try {
Expand All @@ -63,7 +63,7 @@ describe('assertNoPoisoning', () => {
// Arrange
const F = Function;
// eslint-disable-next-line no-global-assign
Function = jest.fn();
Function = jest.fn() as any;

// Act / Assert
try {
Expand Down

0 comments on commit 36d1af9

Please sign in to comment.