2022-01-31 20:28:38 +01:00
|
|
|
import '@testing-library/jest-dom';
|
2024-03-18 13:20:47 +01:00
|
|
|
import { matchNone } from '../js/query/boolean';
|
2022-01-31 20:28:38 +01:00
|
|
|
|
|
|
|
window.booru = {
|
2024-04-16 14:02:12 +02:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
|
|
timeAgo: () => {},
|
2022-01-31 20:28:38 +01:00
|
|
|
csrfToken: 'mockCsrfToken',
|
|
|
|
hiddenTag: '/mock-tagblocked.svg',
|
|
|
|
hiddenTagList: [],
|
|
|
|
ignoredTagList: [],
|
|
|
|
imagesWithDownvotingDisabled: [],
|
|
|
|
spoilerType: 'off',
|
|
|
|
spoileredTagList: [],
|
|
|
|
userCanEditFilter: false,
|
|
|
|
userIsSignedIn: false,
|
|
|
|
watchedTagList: [],
|
2024-03-18 13:20:47 +01:00
|
|
|
hiddenFilter: matchNone(),
|
|
|
|
spoileredFilter: matchNone(),
|
|
|
|
interactions: [],
|
2022-04-03 01:15:34 +02:00
|
|
|
tagsVersion: 5
|
2022-01-31 20:28:38 +01:00
|
|
|
};
|