Skip to content

fix: hoist variable in index.test.ts #577

fix: hoist variable in index.test.ts

fix: hoist variable in index.test.ts #577

Re-run triggered August 16, 2024 17:32
Status Failure
Total duration 1m 12s
Artifacts

tests-unit.yml

on: pull_request
Ensure code standards
17s
Ensure code standards
Matrix: Run unit tests
Fit to window
Zoom out
Zoom in

Annotations

40 errors
Ensure code standards: test/index.test.ts#L74
Unexpected var, use let or const instead
Ensure code standards: test/index.test.ts#L77
Replace `fromEnvMock·=·jest.fn(` with `(fromEnvMock·=·jest.fn()`
Ensure code standards: test/index.test.ts#L88
Unsafe member access .mockReset on an `any` value
Ensure code standards: test/index.test.ts#L88
Unsafe call of an `any` typed value
Ensure code standards: test/index.test.ts#L99
Unsafe member access .mockImplementation on an `any` value
Ensure code standards: test/index.test.ts#L99
Unsafe call of an `any` typed value
Ensure code standards: test/index.test.ts#L185
Unsafe member access .mockReset on an `any` value
Ensure code standards: test/index.test.ts#L185
Unsafe call of an `any` typed value
Ensure code standards: test/index.test.ts#L186
Unsafe member access .mockImplementation on an `any` value
Ensure code standards: test/index.test.ts#L186
Unsafe call of an `any` typed value
Run unit tests (macos-latest): test/index.test.ts#L74
Unexpected var, use let or const instead
Run unit tests (macos-latest): test/index.test.ts#L77
Replace `fromEnvMock·=·jest.fn(` with `(fromEnvMock·=·jest.fn()`
Run unit tests (macos-latest): test/index.test.ts#L88
Unsafe member access .mockReset on an `any` value
Run unit tests (macos-latest): test/index.test.ts#L88
Unsafe call of an `any` typed value
Run unit tests (macos-latest): test/index.test.ts#L99
Unsafe member access .mockImplementation on an `any` value
Run unit tests (macos-latest): test/index.test.ts#L99
Unsafe call of an `any` typed value
Run unit tests (macos-latest): test/index.test.ts#L185
Unsafe member access .mockReset on an `any` value
Run unit tests (macos-latest): test/index.test.ts#L185
Unsafe call of an `any` typed value
Run unit tests (macos-latest): test/index.test.ts#L186
Unsafe member access .mockImplementation on an `any` value
Run unit tests (macos-latest): test/index.test.ts#L186
Unsafe call of an `any` typed value
Run unit tests (ubuntu-latest): test/index.test.ts#L74
Unexpected var, use let or const instead
Run unit tests (ubuntu-latest): test/index.test.ts#L77
Replace `fromEnvMock·=·jest.fn(` with `(fromEnvMock·=·jest.fn()`
Run unit tests (ubuntu-latest): test/index.test.ts#L88
Unsafe member access .mockReset on an `any` value
Run unit tests (ubuntu-latest): test/index.test.ts#L88
Unsafe call of an `any` typed value
Run unit tests (ubuntu-latest): test/index.test.ts#L99
Unsafe member access .mockImplementation on an `any` value
Run unit tests (ubuntu-latest): test/index.test.ts#L99
Unsafe call of an `any` typed value
Run unit tests (ubuntu-latest): test/index.test.ts#L185
Unsafe member access .mockReset on an `any` value
Run unit tests (ubuntu-latest): test/index.test.ts#L185
Unsafe call of an `any` typed value
Run unit tests (ubuntu-latest): test/index.test.ts#L186
Unsafe member access .mockImplementation on an `any` value
Run unit tests (ubuntu-latest): test/index.test.ts#L186
Unsafe call of an `any` typed value
Run unit tests (windows-latest): test/index.test.ts#L74
Unexpected var, use let or const instead
Run unit tests (windows-latest): test/index.test.ts#L77
Replace `fromEnvMock·=·jest.fn(` with `(fromEnvMock·=·jest.fn()`
Run unit tests (windows-latest): test/index.test.ts#L88
Unsafe member access .mockReset on an `any` value
Run unit tests (windows-latest): test/index.test.ts#L88
Unsafe call of an `any` typed value
Run unit tests (windows-latest): test/index.test.ts#L99
Unsafe member access .mockImplementation on an `any` value
Run unit tests (windows-latest): test/index.test.ts#L99
Unsafe call of an `any` typed value
Run unit tests (windows-latest): test/index.test.ts#L185
Unsafe member access .mockReset on an `any` value
Run unit tests (windows-latest): test/index.test.ts#L185
Unsafe call of an `any` typed value
Run unit tests (windows-latest): test/index.test.ts#L186
Unsafe member access .mockImplementation on an `any` value
Run unit tests (windows-latest): test/index.test.ts#L186
Unsafe call of an `any` typed value