mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 23:08:00 +01:00
23 lines
483 B
TypeScript
23 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,
|
|
};
|