Skip to content
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

Correct spelling mistakes #144

Merged
merged 1 commit into from
Apr 25, 2022
Merged
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
6 changes: 3 additions & 3 deletions src/htmlreporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ class HTMLReporter {
}

/**
* Returns the configurated value from the config in the following priority order:
* Returns the configured value from the config in the following priority order:
* Environment Variable > JSON configured value > Default value
* @param key
*/
Expand All @@ -673,7 +673,7 @@ class HTMLReporter {
let parsedContent = content;
// Check if the file exists or not
const fileToAppend = await fs.readFileSync(filePath, "utf8");
// The file exists - we need to strip all unecessary html
// The file exists - we need to strip all unnecessary html
if (fileToAppend) {
const contentSearch = /<body>(.*?)<\/body>/gm.exec(content);
if (contentSearch) {
Expand Down Expand Up @@ -741,7 +741,7 @@ class HTMLReporter {
}

/**
* Helper method to santize output from invalid characters
* Helper method to sanitize output from invalid characters
*/
private sanitizeOutput(input: string) {
return stripAnsi(
Expand Down