Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ blocks:
- name: Mock UI Tests
dependencies: []
execution_time_limit:
minutes: 25
minutes: 30
task:
secrets:
- name: flowcrypt-browser-ci-secrets
Expand Down
109 changes: 83 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"openpgp": "^5.7.0",
"pdfjs-dist": "3.4.120",
"prettier": "^2.8.4",
"puppeteer": "19.6.3",
"puppeteer": "19.8.2",
"stylelint": "15.2.0",
"stylelint-config-standard": "30.0.1",
"typescript": "4.9.5",
Expand Down
2 changes: 1 addition & 1 deletion test/source/mock/all-apis-mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export type HandlersDefinition = Handlers<{ query: { [k: string]: string }; body
export const startAllApisMock = async (logger: (line: string) => void) => {
class LoggedApi<REQ, RES> extends Api<REQ, RES> {
protected throttleChunkMsUpload = 15;
protected throttleChunkMsDownload = 50;
protected throttleChunkMsDownload = 200;
protected log = (ms: number, req: http.IncomingMessage, res: http.ServerResponse, errRes?: Buffer) => {
if (req.url !== '/favicon.ico') {
logger(`${ms}ms | ${res.statusCode} ${req.method} ${req.url} | ${errRes ? errRes : ''}`);
Expand Down