Skip to content

Commit c9c01d8

Browse files
committed
testing with mock
1 parent 24ad8b8 commit c9c01d8

File tree

7 files changed

+32172
-22560
lines changed

7 files changed

+32172
-22560
lines changed

browserstack-report-action/config/constants.js

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
module.exports = {
22
// Default values
3-
DEFAULT_POLLING_INTERVAL_SECONDS: 30,
4-
DEFAULT_MAX_RETRIES: 10,
5-
DEFAULT_USER_TIMEOUT_SECONDS: 300,
3+
DEFAULT_POLLING_INTERVAL_SECONDS: 3,
4+
DEFAULT_MAX_RETRIES: 3,
5+
DEFAULT_USER_TIMEOUT_SECONDS: 10,
66

77
// API simulation constants
88
MAX_POLLS_FOR_IN_PROGRESS: 3,
99

1010
// Report formats
1111
REPORT_FORMAT: {
1212
BASIC_HTML: 'basic_html',
13+
RICH_HTML: 'rich_html',
1314
},
1415

1516
INPUT: {
@@ -39,4 +40,11 @@ module.exports = {
3940
CI_SYSTEM: {
4041
GITHUB_ACTIONS: 'github-actions',
4142
},
43+
44+
//REPORT_REQUEST_STATE
45+
REPORT_REQUEST_STATE: {
46+
FIRST: 'FIRST',
47+
POLL: 'POLL',
48+
LAST: 'LAST',
49+
},
4250
};

0 commit comments

Comments
 (0)