test: Better path compare than just strings (#13548)
test: Better path compare than just strings (#13548)

* Better path comparision than just strings

* Linter fix

* Resolving paths first to always obtain absolute path so path.relative() can work

* Using assert.ok which better fits the test

* No need to resolve parameters of path.resolve

* Added assertion to type of returned path for download item

bpasero/electron,seanchas116/electron,gerhardberger/electron,bpasero/electron,electron/electron,seanchas116/electron,seanchas116/electron,seanchas116/electron,the-ress/electron,shiftkey/electron,gerhardberger/electron,electron/electron,electron/electron,shiftkey/electron,bpasero/electron,bpasero/electron,shiftkey/electron,seanchas116/electron,bpasero/electron,electron/electron,the-ress/electron,shiftkey/electron,gerhardberger/electron,the-ress/electron,gerhardberger/electron,the-ress/electron,shiftkey/electron,electron/electron,bpasero/electron,electron/electron,seanchas116/electron,bpasero/electron,electron/electron,the-ress/electron,gerhardberger/electron,the-ress/electron,the-ress/electron,gerhardberger/electron,shiftkey/electron,gerhardberger/electron