mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-18 06:57:59 +01:00
24 lines
483 B
TypeScript
24 lines
483 B
TypeScript
|
import '@testing-library/jest-dom';
|
||
|
|
||
|
const blankFilter = {
|
||
|
leftOperand: null,
|
||
|
negate: false,
|
||
|
op: null,
|
||
|
rightOperand: null,
|
||
|
};
|
||
|
|
||
|
window.booru = {
|
||
|
csrfToken: 'mockCsrfToken',
|
||
|
hiddenTag: '/mock-tagblocked.svg',
|
||
|
hiddenTagList: [],
|
||
|
ignoredTagList: [],
|
||
|
imagesWithDownvotingDisabled: [],
|
||
|
spoilerType: 'off',
|
||
|
spoileredTagList: [],
|
||
|
userCanEditFilter: false,
|
||
|
userIsSignedIn: false,
|
||
|
watchedTagList: [],
|
||
|
hiddenFilter: blankFilter,
|
||
|
spoileredFilter: blankFilter,
|
||
|
};
|