node-easymock icon indicating copy to clipboard operation
node-easymock copied to clipboard

Windows testing

Open stev-0 opened this issue 10 years ago • 1 comments
trafficstars

Has this been tested on windows at all?

When requesting projupdates with the file projupdates_get.json, in the logs I get:

Request GET /projupdates ==> C:/MyWindowsPath//projupdates_get.json

on Windows (fails with 500 Internal Server Error)

and

Request GET /projupdates ==> /MyLinuxPath//projupdates_get.json

on Linux (does work)

Note the double forward slash appears in both.

The forward/back slashe formatting on Windows also appears to be incorrect by default.

stev-0 avatar May 01 '15 14:05 stev-0

I found everything working after I disabled

// this.startProxy(); and changed the mock address to the listen address, rather than the listen address + 1.

I'm not totally sure what the difference between: startMock(); and .startProxy(); is.

Apologies for spamming the issues list, but it did work without doing that on Linux - looks like I have majorly hacked things to get it to work.

stev-0 avatar May 01 '15 17:05 stev-0