convertPathForServer test fails on Windows
KoltesDigital opened this issue · comments
Jonathan Giroux (Koltes) commented
× utils » convertPathForServer
√ config » createRc returns DEFAULT_RC by default
√ config » setFileSettings changes Config
√ config » setProjectSettings changes Config
√ config » setGlobalSettings changes Config
√ config » setFileSettings > setProjectSettings > setGlobalSettings
√ config » setFileSettings returns diffs and newConfig
√ config » rc and soundRc is isolated
√ config » setFileSettingsByString works the same as setFileSettings
√ config » setSoundSettingsByString works the same as setSoundSettings
1 test failed
utils » convertPathForServer
C:\Projects\veda\test\utils.js:8
7: t.is(convertPathForServer('/foo/bar', 3000, 'baz'), 'http://localhost:3000/link/baz');
> 8: t.is(convertPathForServer('/foo/bar', 3000, 'baz/qux'), 'http://localhost:3000/link/baz/qux');
9: t.is(convertPathForServer('/foo/bar', 3000, 'baz/././qux/'), 'http://localhost:3000/link/baz/qux');
Difference:
- 'http://localhost:3000/link/baz\\qux'
+ 'http://localhost:3000/link/baz/qux'
AMAGI / Jun Yuri commented
fixed in #99