fix!: writeFileSafely関数をmove-file非依存にし、テストを追加 #9044
Annotations
2 errors
Run test:
src/backend/electron/fileHelper.ts#L18
Error: ENOENT: no such file or directory, open 'C:\Users\RUNNER~1\AppData\Local\Temp\b1ccffec-9c62-46a9-a281-6529fc8237259fHtWi\b2ed068f-cd28-4d4f-9a63-abecafd870a5\subdir\test.txt-1ea29e82-51e8-452d-9150-f63fdffcedcb.tmp'
❯ Module.writeFileSafely backend/electron/fileHelper.ts:18:8
❯ ../tests/unit/backend/electron/fileHelper.node.spec.ts:37:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -4058, code: 'ENOENT', syscall: 'open', path: 'C:\Users\RUNNER~1\AppData\Local\Temp\b1ccffec-9c62-46a9-a281-6529fc8237259fHtWi\b2ed068f-cd28-4d4f-9a63-abecafd870a5\subdir\test.txt-1ea29e82-51e8-452d-9150-f63fdffcedcb.tmp' }
|
Run test
Process completed with exit code 1.
|
Loading