Skip to content

chore: Fix clean sub-commands for iterator #201

chore: Fix clean sub-commands for iterator

chore: Fix clean sub-commands for iterator #201

Triggered via push June 17, 2024 22:31
Status Failure
Total duration 16s
Artifacts

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
error: expect(received).toHaveBeenCalledWith(expected): test/utils/file-system.test.ts#L20
Number of calls: 0 at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:20:29
error: expect(received).toBeFalse(): test/utils/file-system.test.ts#L27
Received: true at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:27:45
error: expect(received).toBeFalse(): test/utils/file-system.test.ts#L36
Received: true at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:36:35
TypeError: fs.lstatSync(path).isDirectory is not a function. (In 'fs.lstatSync(path).isDirectory()': src/utils/file-system.ts#L15
at /home/runner/work/dems-cli/dems-cli/src/utils/file-system.ts:15:52 at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:47:14
TypeError: fs.lstatSync(path).isDirectory is not a function. (In 'fs.lstatSync(path).isDirectory()': src/utils/file-system.ts#L15
at /home/runner/work/dems-cli/dems-cli/src/utils/file-system.ts:15:52 at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:64:14
error: expect(received).toHaveBeenCalledWith(expected): test/utils/file-system.test.ts#L77
Number of calls: 0 at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:77:29
error: expect(received).toHaveBeenCalledWith(expected): test/utils/file-system.test.ts#L88
Number of calls: 0 at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:88:29
error: expect(received).toHaveBeenCalledWith(expected): test/utils/file-system.test.ts#L99
Number of calls: 0 at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:99:29
error: expect(received).toHaveBeenCalledWith(expected): test/utils/file-system.test.ts#L123
Number of calls: 0 at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:123:31
error: expect(received).not.toHaveBeenCalled(): test/utils/file-system.test.ts#L178
Expected number of calls: 0 Received number of calls: 1 at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:178:29