Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
iOS, AppVeyor
Description
Failures: 1) prepare updateWww method should update project-level www and with platform agnostic www and merges Message: Expected spy mergeAndUpdateDir to have been called with [ [ 'www', 'platforms/ios/platform_www', 'merges/ios' ], 'platforms/ios/www', { rootDir : 'C:\Users\appveyor\AppData\Local\Temp\1\prepare' }, Function ] but actual calls were [ [ 'www', 'platforms\ios\platform_www', 'merges\ios' ], 'platforms\ios\www', { rootDir : 'C:\Users\appveyor\AppData\Local\Temp\1\prepare' }, Function ] Stacktrace: Error: Expected spy mergeAndUpdateDir to have been called with [ [ 'www', 'platforms/ios/platform_www', 'merges/ios' ], 'platforms/ios/www', { rootDir : 'C:\Users\appveyor\AppData\Local\Temp\1\prepare' }, Function ] but actual calls were [ [ 'www', 'platforms\ios\platform_www', 'merges\ios' ], 'platforms\ios\www', { rootDir : 'C:\Users\appveyor\AppData\Local\Temp\1\prepare' }, Function ] at .<anonymous> (C:\projects\cordova-ios\tests\spec\unit\prepare.spec.js:424:51) at tryOnTimeout (timers.js:224:11) at Timer.listOnTimeout (timers.js:198:5) 2) prepare updateWww method should skip merges if merges directory does not exist Message: Expected spy mergeAndUpdateDir to have been called with [ [ 'www', 'platforms/ios/platform_www' ], 'platforms/ios/www', { rootDir : 'C:\Users\appveyor\AppData\Local\Temp\1\prepare' }, Function ] but actual calls were [ [ 'www', 'platforms\ios\platform_www' ], 'platforms\ios\www', { rootDir : 'C:\Users\appveyor\AppData\Local\Temp\1\prepare' }, Function ] Stacktrace: Error: Expected spy mergeAndUpdateDir to have been called with [ [ 'www', 'platforms/ios/platform_www' ], 'platforms/ios/www', { rootDir : 'C:\Users\appveyor\AppData\Local\Temp\1\prepare' }, Function ] but actual calls were [ [ 'www', 'platforms\ios\platform_www' ], 'platforms\ios\www', { rootDir : 'C:\Users\appveyor\AppData\Local\Temp\1\prepare' }, Function ] at .<anonymous> (C:\projects\cordova-ios\tests\spec\unit\prepare.spec.js:434:51) at tryOnTimeout (timers.js:224:11) at Timer.listOnTimeout (timers.js:198:5)
Expected has paths with forward slashes (non-Windows) but actual has paths with backslashes (Windows).