Skip to content

Commit

Permalink
cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Dec 26, 2023
1 parent 68d31fe commit 5ae8dec
Show file tree
Hide file tree
Showing 13 changed files with 418 additions and 1,386 deletions.
52 changes: 18 additions & 34 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 @@ -36,7 +36,7 @@
"@rollup/pluginutils": "^5.1.0",
"eslint": "^8.56.0",
"release-it": "^17.0.1",
"rollup": "^3.29.4",
"rollup": "^4.9.1",
"rollup-plugin-delete": "^2.0.0",
"typescript": "^5.3.3",
"vitest": "^1.1.0"
Expand Down
14 changes: 12 additions & 2 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const SUPPORTED_VIDEO_FORMATS = {
}
} as const

export const DEFAULT_OPTIONS: ReporterOptions = {
export const DEFAULT_OPTIONS: Required<ReporterOptions> = {
debugMode: false,

logLevel: 'info',
Expand Down Expand Up @@ -99,5 +99,15 @@ export const DEFAULT_OPTIONS: ReporterOptions = {
recordAllActions: false,

// Add a screenshot at a regular interval
screenshotIntervalSecs: undefined,
screenshotIntervalSecs: 0,
};

export const TO_LOCAL_STRING_OPTIONS = {
year: 'numeric',
month: '2-digit',
day: '2-digit',
hour: '2-digit',
minute: '2-digit',
second: '2-digit',
hour12: false,
} as const
Loading

0 comments on commit 5ae8dec

Please sign in to comment.