Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
diskdance committed Jul 26, 2023
1 parent 1e77894 commit 5389fd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/env.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Suppress type errors
const __SHIM_UXS__: boolean;
const COMPAT: boolean;
2 changes: 1 addition & 1 deletion tests/setup-jest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ import { mockMW } from './mediawiki-mock';

Object.defineProperty(globalThis, '$', { value: $ });
Object.defineProperty(globalThis, 'mw', { value: mockMW });
Object.defineProperty(globalThis, '__SHIM_UXS__', { value: false }); // Shim is not tested
Object.defineProperty(globalThis, 'COMPAT', { value: false }); // Shim is not tested

0 comments on commit 5389fd7

Please sign in to comment.