Files
remark42/frontend/app/__stubs__/static-config.ts
T
Pavel MineevandUmputun 5825a55b69 Update frontend
* change root dit and change way to import modules
* update deps to latest versions
* use latest tools for building bundles
* rewrite webpack config
* use nomodule technique for loading modern bundle
* inject polyfills by babel usebuiltins
* update eslint rules
* rename all style files to CSS
* use postcss preset env for building styles
* proper typescript typing
* put all html files to templates folder
* etc
2021-01-12 13:39:26 -06:00

22 lines
507 B
TypeScript

import { StaticStore } from 'common/static-store';
beforeEach(() => {
StaticStore.config = {
admin_email: 'admin@remark42.com',
admins: ['admin'],
auth_providers: ['dev', 'google'],
critical_score: -15,
low_score: -5,
edit_duration: 300,
max_comment_size: 3000,
max_image_size: 5000,
positive_score: false,
readonly_age: 100,
version: 'jest-test',
simple_view: false,
anon_vote: false,
email_notifications: false,
emoji_enabled: true,
};
});