snapshot instead (updated 16:36) #2035
Annotations
3 errors and 1 warning
Run pnpm test:
test/mmkal-repos.test.ts#L37
Error: Snapshot `lint https://github.com/mmkal/expect-type 1` mismatched
- Expected
+ Received
@@ -1,29 +1,29 @@
"
- > expect-type@1.1.0 eslint <div>/expect-type
+ > expect-type@1.1.0 eslint <dir>/expect-type
> eslint --max-warnings 0 "." "--fix" "--max-warnings" "0"
- <div>/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
- <div>/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
- <div>/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
- <div>/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
- <div>/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
- <div>/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:37:24
|
Run pnpm test:
test/mmkal-repos.test.ts#L37
Error: Snapshot `lint https://github.com/mmkal/trpc-cli 1` mismatched
- Expected
+ Received
"
- <div>/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
- <div>/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:37:24
|
Run pnpm test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading