Skip to content

Commit

Permalink
Remove verbose flag for pre-commit
Browse files Browse the repository at this point in the history
Update config to mitigate flaky tests

Update .eslintrc.js for the frontend
  • Loading branch information
xbtmatt committed Nov 7, 2024
1 parent adbfce9 commit 325aed8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
path: './src/python/hooks/.venv'
- uses: 'pre-commit/[email protected]'
with:
extra_args: '--all-files --config cfg/pre-commit-config.yaml --verbose'
extra_args: '--all-files --config cfg/pre-commit-config.yaml'
name: 'pre-commit'
'on':
pull_request: null
Expand Down
3 changes: 2 additions & 1 deletion src/typescript/frontend/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ module.exports = {
"node_modules/**",
".eslintrc.js",
"config-overrides.js",
"playwright.config.ts",
"next.config.mjs",
"playwright.config.js",
"postcss.config.js",
"tailwind.config.js",
"tests/**",
Expand Down
5 changes: 1 addition & 4 deletions src/typescript/frontend/tests/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"extends": "../tsconfig.json",
"include": [
"**/*.ts",
"../playwright.config.ts"
]
"include": ["**/*.ts"]
}
2 changes: 2 additions & 0 deletions src/typescript/sdk/tests/unit/sleep.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { getTime, sleep, UNIT_OF_TIME_MULTIPLIERS, UnitOfTime } from "../../src";

jest.retryTimes(3);

describe("sleep utility function with units of time", () => {
it("converts units of time to milliseconds", () => {
expect(UNIT_OF_TIME_MULTIPLIERS[UnitOfTime.Microseconds]).toEqual(0.001);
Expand Down

0 comments on commit 325aed8

Please sign in to comment.