Skip to content

chore: Rename setup command for init #141

chore: Rename setup command for init

chore: Rename setup command for init #141

Triggered via push May 8, 2024 20:55
Status Failure
Total duration 19s
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#L24
Number of calls: 0 at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:24:7
error: expect(received).toBeFalse(): test/utils/file-system.test.ts#L31
Received: true at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:31:7
error: expect(received).toBeFalse(): test/utils/file-system.test.ts#L40
Received: true at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:40:7
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:33 at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:51: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:33 at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:68:14
error: expect(received).toHaveBeenCalledWith(expected): test/utils/file-system.test.ts#L81
Number of calls: 0 at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:81:7
error: expect(received).toHaveBeenCalledWith(expected): test/utils/file-system.test.ts#L92
Number of calls: 0 at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:92:7
error: expect(received).toHaveBeenCalledWith(expected): test/utils/file-system.test.ts#L103
Number of calls: 0 at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:103:7
error: expect(received).toThrow(expected): test/utils/file-system.test.ts#L116
Expected constructor: Error Received function did not throw at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:116:7
error: expect(received).toHaveBeenCalledWith(expected): test/utils/file-system.test.ts#L131
Number of calls: 0 at /home/runner/work/dems-cli/dems-cli/test/utils/file-system.test.ts:131:7