mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
21 lines
559 B
TypeScript
21 lines
559 B
TypeScript
import '@testing-library/jest-dom';
|
|
import { matchNone } from '../js/query/boolean';
|
|
|
|
window.booru = {
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
timeAgo: () => {},
|
|
csrfToken: 'mockCsrfToken',
|
|
hiddenTag: '/mock-tagblocked.svg',
|
|
hiddenTagList: [],
|
|
ignoredTagList: [],
|
|
imagesWithDownvotingDisabled: [],
|
|
spoilerType: 'off',
|
|
spoileredTagList: [],
|
|
userCanEditFilter: false,
|
|
userIsSignedIn: false,
|
|
watchedTagList: [],
|
|
hiddenFilter: matchNone(),
|
|
spoileredFilter: matchNone(),
|
|
interactions: [],
|
|
tagsVersion: 5
|
|
};
|