test: LinuxApplicationRepository #1251
Annotations
2 errors
main/Extensions/ApplicationSearch/Linux/LinuxApplicationRepository.test.ts > LinuxApplicationRepository > getApplications > should return all applications for the current desktop:
src/main/Extensions/ApplicationSearch/Linux/LinuxApplicationRepository.test.ts#L171
AssertionError: expected [] to deeply equal [ LinuxApplication{ …(3) }, …(2) ]
- Expected
+ Received
- Array [
- LinuxApplication {
- "filePath": "/usr/share/applications/org.app1.desktop",
- "image": Object {
- "url": "file:///url/to/icon/app1.png",
- },
- "name": "App1",
- },
- LinuxApplication {
- "filePath": "/usr/share/applications/app3.desktop",
- "image": Object {
- "url": "file:///url/to/icon/app3.png",
- },
- "name": "App3",
- },
- LinuxApplication {
- "filePath": "/home/user/my/folder/applications/app5.desktop",
- "image": Object {
- "url": "file://genericIcon.png",
- },
- "name": "App5",
- },
- ]
+ Array []
❯ main/Extensions/ApplicationSearch/Linux/LinuxApplicationRepository.test.ts:171:72
|
Build
Process completed with exit code 1.
|