diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 6a9f76ed77..d1e19c5874 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -61,7 +61,7 @@ jobs: path: './src/python/hooks/.venv' - uses: 'pre-commit/action@v3.0.0' 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 diff --git a/src/typescript/frontend/.eslintrc.js b/src/typescript/frontend/.eslintrc.js index 6a41e681a6..f133c9fa8f 100644 --- a/src/typescript/frontend/.eslintrc.js +++ b/src/typescript/frontend/.eslintrc.js @@ -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/**", diff --git a/src/typescript/frontend/playwright.config.ts b/src/typescript/frontend/playwright.config.js similarity index 100% rename from src/typescript/frontend/playwright.config.ts rename to src/typescript/frontend/playwright.config.js diff --git a/src/typescript/frontend/tests/tsconfig.json b/src/typescript/frontend/tests/tsconfig.json index c30c5f46b2..e516b7faf6 100644 --- a/src/typescript/frontend/tests/tsconfig.json +++ b/src/typescript/frontend/tests/tsconfig.json @@ -1,7 +1,4 @@ { "extends": "../tsconfig.json", - "include": [ - "**/*.ts", - "../playwright.config.ts" - ] + "include": ["**/*.ts"] } diff --git a/src/typescript/sdk/tests/unit/sleep.test.ts b/src/typescript/sdk/tests/unit/sleep.test.ts index 1ac48e344f..8066adee47 100644 --- a/src/typescript/sdk/tests/unit/sleep.test.ts +++ b/src/typescript/sdk/tests/unit/sleep.test.ts @@ -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);