Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Commit

Permalink
- Reverted changes added by prettier.
Browse files Browse the repository at this point in the history
- Added 'no trailing spaces' rule in eslint.
  • Loading branch information
ernestas-zekas committed Jan 12, 2021
1 parent 5bf0016 commit 4d03f6b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ module.exports = {
"space-infix-ops": [
"error",
{ "int32Hint": false }
]
],
"no-trailing-spaces": 2
}
};
5 changes: 4 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ module.exports = {
setupFilesAfterEnv: ["./test-environment/jest.setup.js"],
transformIgnorePatterns: ["node_modules/(?!(test-juggler)/)"],
verbose: true,
reporters: ["default", ["jest-junit", { outputDirectory: "junit-report" }]],
reporters: [
"default",
["jest-junit", { outputDirectory: "junit-report" }]
],
testTimeout: 60000
};
4 changes: 2 additions & 2 deletions test-environment/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class CustomEnvironment extends PuppeteerEnvironment {
"latency": config.latency
});
}

if (config.captureBrowserConsoleLogs) {
const chalk = require("chalk");
page
Expand All @@ -53,7 +53,7 @@ class CustomEnvironment extends PuppeteerEnvironment {
.on("requestfailed", request =>
console.log(chalk.magenta(`${request.failure().errorText} ${request.url()}`)));
}

if (config.useTracing) {
const targetDir = "./logs/Timelines";
fs.mkdirSync(targetDir, { recursive: true });
Expand Down

0 comments on commit 4d03f6b

Please sign in to comment.