feat: drag & drop #1639
Annotations
3 errors
main/Extensions/ApplicationSearch/Windows/WindowsApplicationRepository.test.ts > WindowsApplicationRepository > getApplications > should return manually installed apps and windows store apps when 'include apps from windows store is enabled':
src/main/Extensions/ApplicationSearch/Windows/WindowsApplicationRepository.test.ts#L76
AssertionError: expected [ WindowsApplication{ …(4) }, …(3) ] to deeply equal [ WindowsApplication{ …(4) }, …(3) ]
- Expected
+ Received
[
WindowsApplication {
- "dragAndDrop": undefined,
+ "dragAndDrop": {
+ "filePath": "PathToApp1",
+ },
"filePath": "PathToApp1",
"image": {
"url": "PathToIcon1",
},
"name": "App1",
},
WindowsApplication {
- "dragAndDrop": undefined,
+ "dragAndDrop": {
+ "filePath": "PathToApp2",
+ },
"filePath": "PathToApp2",
"image": {
"url": "file://path",
},
"name": "App2",
},
WindowsApplication {
"dragAndDrop": undefined,
"filePath": "shell:AppsFolder\\1234",
"image": {
"url": "data:image/png;base64,Logo1",
},
"name": "WindowsStoreApp1",
},
WindowsApplication {
"dragAndDrop": undefined,
"filePath": "shell:AppsFolder\\5678",
"image": {
"url": "data:image/png;base64,Logo2",
},
"name": "WindowsStoreApp2",
},
]
❯ testGetApplications main/Extensions/ApplicationSearch/Windows/WindowsApplicationRepository.test.ts:76:74
❯ main/Extensions/ApplicationSearch/Windows/WindowsApplicationRepository.test.ts:86:13
|
main/Extensions/ApplicationSearch/Windows/WindowsApplicationRepository.test.ts > WindowsApplicationRepository > getApplications > should return only manually installed apps and when 'include apps from windows store is disabled':
src/main/Extensions/ApplicationSearch/Windows/WindowsApplicationRepository.test.ts#L76
AssertionError: expected [ WindowsApplication{ …(4) }, …(1) ] to deeply equal [ WindowsApplication{ …(4) }, …(1) ]
- Expected
+ Received
[
WindowsApplication {
- "dragAndDrop": undefined,
+ "dragAndDrop": {
+ "filePath": "PathToApp1",
+ },
"filePath": "PathToApp1",
"image": {
"url": "PathToIcon1",
},
"name": "App1",
},
WindowsApplication {
- "dragAndDrop": undefined,
+ "dragAndDrop": {
+ "filePath": "PathToApp2",
+ },
"filePath": "PathToApp2",
"image": {
"url": "file://path",
},
"name": "App2",
},
]
❯ testGetApplications main/Extensions/ApplicationSearch/Windows/WindowsApplicationRepository.test.ts:76:74
❯ main/Extensions/ApplicationSearch/Windows/WindowsApplicationRepository.test.ts:101:13
|
Build
Process completed with exit code 1.
|