merge-requests/341/head
Thomas Lynch 1 year ago
parent b1a2ba2a7b
commit c79f7492e2
  1. 8
      test/posting.js
  2. 2
      test/setup.js

@ -126,8 +126,12 @@ int main() {...}
jest.setTimeout(5*60*1000); //give a generous timeout
test('post some threads & replies on test boards', async () => {
await postThreadsWithReplies('test', 30, 5);
await postThreadsWithReplies('test2', 10, 5);
try {
await postThreadsWithReplies('test', 30, 5);
await postThreadsWithReplies('test2', 10, 5);
} catch (e) {
console.error(e)
}
jest.setTimeout(5*1000); //back to normal timeout
});

@ -222,6 +222,8 @@ module.exports = () => describe('login and create test board', () => {
global_limits_post_files_max: '5',
global_limits_post_files_size_max: '10485760',
global_limits_custom_pages_max_length: '10000',
global_limits_post_files_size_video_resolution: '100000000',
global_limits_post_files_size_image_resolution: '100000000',
global_limits_custom_pages_max: '10',
global_limits_banner_files_width: '500',
global_limits_banner_files_height: '500',

Loading…
Cancel
Save