Files
remark42/frontend/app/common/__mocks__/settings.ts
T
Pavel MineevandUmputun 67188880a7 Changes
* turn back remark.image
* fix readme
* remove ts-ignore
2021-01-12 13:39:26 -06:00

20 lines
462 B
TypeScript

const settingsMock: typeof import('common/settings') = {
...jest.requireActual('common/settings'),
siteId: 'remark',
pageTitle: 'remark test',
url: 'https://remark42.com/test',
maxShownComments: 20,
token: 'abcd',
theme: 'light',
querySettings: {
site_id: 'remark',
page_title: 'remark test',
url: 'https://remark42.com/test',
max_shown_comments: 20,
token: 'abcd',
theme: 'light',
},
};
module.exports = settingsMock;