Skip to content

snapshot instead (updated 16:33) #2034

snapshot instead (updated 16:33)

snapshot instead (updated 16:33) #2034

Triggered via push January 26, 2025 08:33
Status Failure
Total duration 1m 5s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
test/mmkal-repos.test.ts > lint https://github.com/mmkal/expect-type: test/mmkal-repos.test.ts#L36
Error: Snapshot `lint https://github.com/mmkal/expect-type 1` mismatched - Expected + Received @@ -1,29 +1,29 @@ " - > [email protected] eslint /private<dir>/expect-type + > [email protected] eslint <dir>/expect-type > eslint --max-warnings 0 "." "--fix" "--max-warnings" "0" - /private<dir>/expect-type/src/branding.ts + <dir>/expect-type/src/branding.ts <line>:<col> error The `Function` type accepts any function-like value. Prefer explicitly defining any function parameters and return type @typescript-eslint/no-unsafe-function-type - /private<dir>/expect-type/src/index.ts + <dir>/expect-type/src/index.ts <line>:<col> error The `Function` type accepts any function-like value. Prefer explicitly defining any function parameters and return type @typescript-eslint/no-unsafe-function-type - /private<dir>/expect-type/src/utils.ts + <dir>/expect-type/src/utils.ts <line>:<col> error 'secret' is assigned a value but only used as a type. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars - /private<dir>/expect-type/test/ts-output.ts + <dir>/expect-type/test/ts-output.ts <line>:<col> warning Use default import for module `node:path` unicorn/import-style - /private<dir>/expect-type/test/types.test.ts + <dir>/expect-type/test/types.test.ts <line>:<col> error Expected an assignment or function call and instead saw an expression @typescript-eslint/no-unused-expressions <line>:<col> error Expected an assignment or function call and instead saw an expression @typescript-eslint/no-unused-expressions - /private<dir>/expect-type/test/usage.test.ts + <dir>/expect-type/test/usage.test.ts <line>:<col> error 'A' is defined but only used as a type. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars <line>:<col> error 'B' is defined but only used as a type. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars <line>:<col> error 'C' is defined but only used as a type. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars ✖ 9 problems (8 errors, 1 warning) ❯ test.timeout test/mmkal-repos.test.ts:36:24
test/mmkal-repos.test.ts > lint https://github.com/mmkal/trpc-cli: test/mmkal-repos.test.ts#L36
Error: Snapshot `lint https://github.com/mmkal/trpc-cli 1` mismatched - Expected + Received " - /private<dir>/trpc-cli/src/index.ts + <dir>/trpc-cli/src/index.ts <line>:<col> error The `Function` type accepts any function-like value. Prefer explicitly defining any function parameters and return type @typescript-eslint/no-unsafe-function-type <line>:<col> error Expected an error object to be thrown @typescript-eslint/only-throw-error - /private<dir>/trpc-cli/src/util.ts + <dir>/trpc-cli/src/util.ts <line>:<col> error The `Function` type accepts any function-like value. Prefer explicitly defining any function parameters and return type @typescript-eslint/no-unsafe-function-type ✖ 3 problems (3 errors, 0 warnings) " ❯ test.timeout test/mmkal-repos.test.ts:36:24
test
Process completed with exit code 1.
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636