-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish test results #363
Publish test results #363
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ | ||
export default { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
preset: "ts-jest", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Low]Use consistent quotation marks throughout the codebase The code uses both single and double-quotes for string literals. Choose either single or double quotes and use them consistently throughout the codebase |
||
testEnvironment: "node", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Low]Use consistent indentation throughout the codebase The code uses mix of tabs and spaces for indentation. Configure the editor/IDE to use either tabs or spaces and use them consistently throughout the codebase |
||
reporters: [ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Low]Ensure consistency in casing for configuration values The code uses different casing for configuration values like 'preset'. Choose a standard casing style for configuration values and use it consistently throughout the codebase. For example, all lower case or camel case |
||
"default", | ||
["jest-junit", { outputDirectory: "reports", outputName: "report.xml" }], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Low]Use descriptive configuration value names The configuration values 'preset', 'testEnvironment', and 'reporters' are not descriptive enough. Choose more descriptive configuration value names that convey their purpose |
||
], | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Low]Include permissions for the 'actions' user
The actions user account may require permissions to run some jobs. Include the 'actions' user with the appropriate permission settings.