> [email protected] test C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib
> npm run eslint && npm run unit-tests && npm run e2e-tests
> [email protected] eslint C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib
> eslint .
> [email protected] unit-tests C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib
> jasmine JASMINE_CONFIG_PATH=spec/jasmine.json
Jasmine started
build command
failure
๏ฟฝ[32mโ Test 001 : should not run inside a project with no platforms๏ฟฝ[39m (0.01 sec)
๏ฟฝ[32mโ Test 002 : should not run outside of a Cordova-based project๏ฟฝ[39m (0.002 sec)
success
๏ฟฝ[32mโ Test 003 : should run inside a Cordova-based project with at least one added platform and call both prepare and compile๏ฟฝ[39m (0.004 sec)
๏ฟฝ[32mโ Test 004 : should pass down options๏ฟฝ[39m (0.002 sec)
hooks
when platforms are added
๏ฟฝ[32mโ Test 006 : should fire before hooks through the hooker module๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 007 : should fire after hooks through the hooker module๏ฟฝ[39m (0.001 sec)
with no platforms added
๏ฟฝ[32mโ Test 008 : should not fire the hooker๏ฟฝ[39m (0.001 sec)
compile command
failure
๏ฟฝ[32mโ Test 001 : should not run inside a Cordova-based project with no added platforms by calling util.listPlatforms๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 002 : should not run outside of a Cordova-based project๏ฟฝ[39m (0.001 sec)
success
๏ฟฝ[32mโ Test 003 : should run inside a Cordova-based project with at least one added platform and shell out to build๏ฟฝ[39m (0.002 sec)
๏ฟฝ[32mโ Test 004 : should pass down optional parameters๏ฟฝ[39m (0.001 sec)
hooks
when platforms are added
๏ฟฝ[32mโ Test 006 : should fire before hooks through the hooker module๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 007 : should fire after hooks through the hooker module๏ฟฝ[39m (0.001 sec)
with no platforms added
๏ฟฝ[32mโ Test 008 : should not fire the hooker๏ฟฝ[39m (0.001 sec)
cordova lib main export
๏ฟฝ[32mโ should be available๏ฟฝ[39m (0.001 sec)
create basic test (see more in cordova-create)
๏ฟฝ[32mโ Test 003 : should successfully run๏ฟฝ[39m (0.264 sec)
emulate command
failure
๏ฟฝ[32mโ Test 001 : should not run inside a Cordova-based project with no added platforms by calling util.listPlatforms๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 002 : should not run outside of a Cordova-based project๏ฟฝ[39m (0.001 sec)
success
๏ฟฝ[32mโ Test 003 : should run inside a Cordova-based project with at least one added platform and call prepare and shell out to the emulate script๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 004 : should pass down options๏ฟฝ[39m (0.001 sec)
run parameters should not be altered by intermediate build command
๏ฟฝ[32mโ Test 006 : should leave parameters unchanged๏ฟฝ[39m (0.014 sec)
๏ฟฝ[32mโ Test 007 : should call platform's build method๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 008 : should not call build if --nobuild option is passed๏ฟฝ[39m (0.001 sec)
hooks
when platforms are added
๏ฟฝ[32mโ Test 009 : should fire before hooks through the hooker module๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ Test 010 : should fire after hooks through the hooker module๏ฟฝ[39m (0.001 sec)
with no platforms added
๏ฟฝ[32mโ Test 011 : should not fire the hooker๏ฟฝ[39m (0.001 sec)
cordova/platform/addHelper
error/warning conditions
๏ฟฝ[32mโ should require specifying at least one platform๏ฟฝ[39m (0.068 sec)
๏ฟฝ[32mโ should log if host OS does not support the specified platform๏ฟฝ[39m (0.069 sec)
๏ฟฝ[32mโ should throw if platform was already added before adding๏ฟฝ[39m (0.058 sec)
๏ฟฝ[32mโ should throw if platform was not added before updating๏ฟฝ[39m (0.048 sec)
happy path (success conditions)
๏ฟฝ[32mโ should fire the before_platform_* hook๏ฟฝ[39m (0.074 sec)
platform spec inference
๏ฟฝ[32mโ should retrieve platform details from directories-specified-as-platforms using getPlatformDetailsFromDir๏ฟฝ[39m (0.055 sec)
๏ฟฝ[32mโ should retrieve platform details from URLs-specified-as-platforms using downloadPlatform๏ฟฝ[39m (0.039 sec)
๏ฟฝ[32mโ should use spec from config.xml if package.json does not contain dependency for platform๏ฟฝ[39m (0.047 sec)
๏ฟฝ[32mโ should attempt to retrieve from config.xml if exists and package.json does not๏ฟฝ[39m (0.031 sec)
๏ฟฝ[32mโ should fall back to using pinned version if both package.json and config.xml do not specify it๏ฟฝ[39m (0.029 sec)
๏ฟฝ[32mโ should invoke fetch if provided as an option and spec is a directory๏ฟฝ[39m (0.036 sec)
platform api invocation
๏ฟฝ[32mโ should invoke the createPlatform platform API method when adding a platform, providing destination location, parsed config file and platform detail options as arguments๏ฟฝ[39m (0.023 sec)
๏ฟฝ[32mโ should invoke the update platform API method when updating a platform, providing destination location and plaform detail options as arguments๏ฟฝ[39m (0.032 sec)
after platform api invocation
when the restoring option is not provided
๏ฟฝ[33m* should invoke preparePlatforms twice (?!?), once before installPluginsForNewPlatforms and once after... ?!๏ฟฝ[39m
๏ฟฝ[32mโ should invoke the installPluginsForNewPlatforms method in the platform-add case๏ฟฝ[39m (0.043 sec)
๏ฟฝ[32mโ should write out the version of platform just added/updated to config.xml if the save option is provided๏ฟฝ[39m (0.039 sec)
if the project contains a package.json
๏ฟฝ[32mโ should write out the platform just added/updated to the cordova.platforms property of package.json๏ฟฝ[39m (0.025 sec)
๏ฟฝ[32mโ should use pkgJson version devDependencies, if dependencies are undefined๏ฟฝ[39m (0.057 sec)
๏ฟฝ[32mโ should only write the package.json file if it was modified๏ฟฝ[39m (0.045 sec)
๏ฟฝ[32mโ should file the after_platform_* hook๏ฟฝ[39m (0.021 sec)
downloadPlatform
errors
๏ฟฝ[32mโ should reject the promise should fetch fail๏ฟฝ[39m (0.048 sec)
happy path
๏ฟฝ[32mโ should invoke cordova-fetch if fetch was provided as an option๏ฟฝ[39m (0.022 sec)
๏ฟฝ[32mโ should pass along a libDir argument to getPlatformDetailsFromDir on a successful platform download๏ฟฝ[39m (0.027 sec)
installPluginsForNewPlatform
๏ฟฝ[32mโ should immediately return if there are no plugins to install into the platform๏ฟฝ[39m (0.054 sec)
๏ฟฝ[32mโ should invoke plugman.install, giving correct platform, plugin and other arguments๏ฟฝ[39m (0.031 sec)
๏ฟฝ[32mโ should include any plugin variables as options when invoking plugman install๏ฟฝ[39m (0.022 sec)
cordova/platform/check
๏ฟฝ[32mโ If no results, platforms cannot be updated๏ฟฝ[39m (2 secs)
๏ฟฝ[32mโ Should warn if install failed๏ฟฝ[39m (2 secs)
๏ฟฝ[32mโ Should warn if version-empty๏ฟฝ[39m (0.117 sec)
๏ฟฝ[32mโ Should warn if version-failed๏ฟฝ[39m (2 secs)
cordova/platform/getPlatformDetailsFromDir
๏ฟฝ[32mโ should throw if no config.xml or pkgJson๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should throw if no platform is provided๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should return a promise with platform and version๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should remove the cordova- prefix from the platform name for known platforms๏ฟฝ[39m (0.001 sec)
cordova/platform
main module function
error/warning conditions
๏ฟฝ[32mโ should require at least one platform for add and remove commands๏ฟฝ[39m (0.017 sec)
handling of targets parameter
๏ฟฝ[32mโ should be able to handle an array of platform targets๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should be able to handle a single platform target string๏ฟฝ[39m (0.001 sec)
happy path (success conditions)
๏ฟฝ[32mโ should direct `add` commands to the `add` method/module๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should direct `remove` + `rm` commands to the `remove` method/module๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should direct `update` + `up` commands to the `update` method/module๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should direct `check` commands to the `check` method/module๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should direct `list`, all other commands and no command at all to the `list` method/module๏ฟฝ[39m (0.001 sec)
cordova/platform/list
๏ฟฝ[32mโ should fire the before_platform_ls hook๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should fire the after_platform_ls hook๏ฟฝ[39m (0.014 sec)
๏ฟฝ[32mโ should print results of available platforms๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should return platform list๏ฟฝ[39m (0 sec)
cordova.platform
add function
๏ฟฝ[32mโ Test 004 : throws if the target list is empty๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 005 : throws if the target list is undefined๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ Test 006 : throws if the target list is null๏ฟฝ[39m (0.001 sec)
cordova/platform/remove
error/warning conditions
๏ฟฝ[32mโ should require specifying at least one platform๏ฟฝ[39m (0.014 sec)
happy path (success conditions)
๏ฟฝ[32mโ should fire the before_platform_* hook๏ฟฝ[39m (0.014 sec)
๏ฟฝ[32mโ should remove <platform>.json file from plugins directory๏ฟฝ[39m (0.012 sec)
๏ฟฝ[32mโ should remove from config.xml and platforms.json๏ฟฝ[39m (0.016 sec)
๏ฟฝ[32mโ should remove from package.json๏ฟฝ[39m (0.023 sec)
๏ฟฝ[32mโ fetch should be called๏ฟฝ[39m (0.009 sec)
๏ฟฝ[32mโ should file the after_platform_* hook๏ฟฝ[39m (0.01 sec)
platforms/platforms
๏ฟฝ[32mโ should have getPlatformApi function as a property๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should have all and only the supported platforms๏ฟฝ[39m (0.016 sec)
getPlatformApi method
๏ฟฝ[32mโ should return PlatformApi class defined by platform๏ฟฝ[39m (0.021 sec)
๏ฟฝ[32mโ should cache PlatformApi instance for further calls๏ฟฝ[39m (0.005 sec)
๏ฟฝ[32mโ should resolve symlinks before creating an instance๏ฟฝ[39m (0.017 sec)
๏ฟฝ[32mโ should return cached instance by symlink to project root๏ฟฝ[39m (0.005 sec)
๏ฟฝ[32mโ should succeed if called inside of cordova project w/out platformRoot param๏ฟฝ[39m (0.003 sec)
๏ฟฝ[32mโ should throw if called outside of cordova project w/out platformRoot param๏ฟฝ[39m (0.003 sec)
๏ฟฝ[32mโ should throw for unknown platform๏ฟฝ[39m (0.004 sec)
๏ฟฝ[32mโ should throw for nonsense www platform๏ฟฝ[39m (0.002 sec)
cordova/plugin/add
main method
error/warning conditions
๏ฟฝ[32mโ should error out if at least one plugin is not specified๏ฟฝ[39m (0.003 sec)
๏ฟฝ[32mโ should error out if any mandatory plugin variables are not provided๏ฟฝ[39m (0.002 sec)
happy path
๏ฟฝ[32mโ should fire the before_plugin_add hook๏ฟฝ[39m (0.002 sec)
๏ฟฝ[32mโ should determine where to fetch a plugin from using determinePluginTarget and invoke plugman.fetch with the resolved target๏ฟฝ[39m (0.002 sec)
๏ฟฝ[32mโ should retrieve any variables for the plugin from config.xml and add them as cli variables only when the variables were not already provided via options๏ฟฝ[39m (0.013 sec)
๏ฟฝ[32mโ should invoke plugman.install for each platform added to the project๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should save plugin variable information to package.json file (if exists)๏ฟฝ[39m (0.002 sec)
๏ฟฝ[32mโ should overwrite plugin information in config.xml after a successful installation๏ฟฝ[39m (0.001 sec)
๏ฟฝ[33m* should invoke preparePlatforms if plugman.install returned a falsey value๏ฟฝ[39m
๏ฟฝ[32mโ should fire after_plugin_add hook๏ฟฝ[39m (0.001 sec)
determinePluginTarget helper method
๏ฟฝ[32mโ should return the target directly if the target is pluginSpec-parseable๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should return the target directly if the target is a URL๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should return the target directly if the target is a directory๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should retrieve plugin version from package.json (if exists)๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should retrieve plugin version from package.json devDependencies (if exists)๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should retrieve plugin version from config.xml as a last resort๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should return plugin version retrieved from package.json or config.xml if it is a URL๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should return plugin version retrieved from package.json or config.xml if it is a directory๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should return plugin version retrieved from package.json or config.xml if it has a scope๏ฟฝ[39m (0.001 sec)
with no version inferred from config files or provided plugin target
when searchpath or noregistry flag is provided
๏ฟฝ[32mโ should end up just returning the target passed in case of searchpath๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should end up just returning the target passed in case of noregistry๏ฟฝ[39m (0.001 sec)
when registry/npm is to be used (neither searchpath nor noregistry flag is provided)
๏ฟฝ[32mโ should retrieve plugin info via registry.info๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should feed registry.info plugin information into getFetchVersion๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should return the target as plugin-id@fetched-version๏ฟฝ[39m (0 sec)
parseSource helper method
๏ฟฝ[32mโ should return target when url is passed๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should return target when local path is passed๏ฟฝ[39m (0.015 sec)
๏ฟฝ[32mโ should return null when target is not url or local path๏ฟฝ[39m (0 sec)
getVersionFromConfigFile helper method
๏ฟฝ[32mโ should return spec๏ฟฝ[39m (0 sec)
unit tests to replace integration-tests/plugin_fetch.spec.js
getFetchVersion helper method
๏ฟฝ[32mโ should resolve with null if plugin info does not contain engines and engines.cordovaDependencies properties๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should retrieve installed plugins and installed platforms version and feed that information into determinePluginVersionToFetch๏ฟฝ[39m (0.001 sec)
determinePluginVersionToFetch helper method
๏ฟฝ[32mโ should return null if no valid semver versions exist and no upperbound constraints were placed๏ฟฝ[39m (0.005 sec)
๏ฟฝ[32mโ should return null and fetching latest version of plugin๏ฟฝ[39m (0.002 sec)
๏ฟฝ[32mโ should return highest version of plugin available based on constraints๏ฟฝ[39m (0.001 sec)
getFailedRequirements helper method
๏ฟฝ[32mโ should remove prerelease version๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should return an empty array if no failed requirements๏ฟฝ[39m (0.014 sec)
๏ฟฝ[32mโ should return an empty array if invalid dependency constraint๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should return an array with failed plugin requirements ๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should return an array with failed cordova requirements ๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should return an array with failed platform requirements ๏ฟฝ[39m (0.002 sec)
listUnmetRequirements helper method
๏ฟฝ[32mโ should emit warnings for failed requirements๏ฟฝ[39m (0.001 sec)
findVersion helper method
๏ฟฝ[32mโ should return null if version is not in array๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should return the version if it is in the array๏ฟฝ[39m (0 sec)
cordova/plugin
error conditions
๏ฟฝ[32mโ should require at least one target for add and rm commands๏ฟฝ[39m (0.001 sec)
handling/massaging of parameters
๏ฟฝ[32mโ should be able to handle an array of platform targets๏ฟฝ[39m (0.003 sec)
๏ฟฝ[32mโ should be able to handle a single string as a target๏ฟฝ[39m (0.002 sec)
๏ฟฝ[32mโ should transform targets that start with a dash into options๏ฟฝ[39m (0.011 sec)
๏ฟฝ[32mโ should also include targets into a plugins property on options๏ฟฝ[39m (0.001 sec)
happy path
๏ฟฝ[32mโ should direct "add" command to the "add" submodule๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should direct "rm" and "remove" commands to the "remove" submodule๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should direct "save" command to the "save" submodule๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should direct "list", all other commands and no command at all to the "list" submodule๏ฟฝ[39m (0 sec)
cordova/plugin/list
๏ฟฝ[32mโ should fire the before_plugin_ls hook๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should emit a "no plugins added" result if there are no installed plugins๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should warn if plugin list contains dependencies that are missing๏ฟฝ[39m (0 sec)
๏ฟฝ[33m* should warn if plugin list contains a plugin dependency that does not have a version satisfied๏ฟฝ[39m
๏ฟฝ[32mโ should emit a result containing a description of plugins installed๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should fire the after_plugin_ls hook๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should resolve the promise by returning an array of plugin ids installed๏ฟฝ[39m (0.001 sec)
methods for parsing npm plugin packages
๏ฟฝ[32mโ Test 001 : should handle package names with no scope or version๏ฟฝ[39m (0.014 sec)
๏ฟฝ[32mโ Test 002 : should handle package names with a version๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ Test 003 : should handle package names with a scope๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ Test 004 : should handle package names with a scope and a version๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 005 : should handle invalid package specs๏ฟฝ[39m (0 sec)
cordova/plugin/remove
error/warning conditions
๏ฟฝ[32mโ should require that a plugin be provided๏ฟฝ[39m (0.002 sec)
๏ฟฝ[32mโ should require that a provided plugin be installed in the current project๏ฟฝ[39m (0.002 sec)
happy path
๏ฟฝ[32mโ should fire the before_plugin_rm hook๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should call plugman.uninstall.uninstallPlatform for each platform installed in the project and for each provided plugin๏ฟฝ[39m (0.002 sec)
๏ฟฝ[32mโ should trigger a prepare if plugman.uninstall.uninstallPlatform returned something falsy๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should call plugman.uninstall.uninstallPlugin once plugin has been uninstalled for each platform๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should call uninstallPlugin in order and only finish once all plugins are done๏ฟฝ[39m (0.142 sec)
when save option is provided or autosave config is on
๏ฟฝ[32mโ should remove provided plugins from config.xml๏ฟฝ[39m (0.002 sec)
๏ฟฝ[32mโ should remove provided plugins from package.json (if exists)๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should remove fetch metadata from fetch.json๏ฟฝ[39m (0.002 sec)
๏ฟฝ[32mโ should fire the after_plugin_rm hook๏ฟฝ[39m (0.001 sec)
cordova/plugin/save
error conditions
๏ฟฝ[32mโ should explode if there was an issue parsing or reading from fetch.json file๏ฟฝ[39m (0.001 sec)
happy path
๏ฟฝ[32mโ check that existing plugins are getting removed๏ฟฝ[39m (0.021 sec)
๏ฟฝ[32mโ plugins are being removed first and then only top level plugins are being restored๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should write individual plugin specs to config.xml๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should write individual plugin variables to config.xml๏ฟฝ[39m (0.001 sec)
getSpec helper method
๏ฟฝ[32mโ should return a plugin source's url or path property immediately๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ getSpec should return a version if a version was provided to plugin id๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should return a version that includes scope if scope was part of plugin id๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should fall back to using PluginInfoProvider to retrieve a version as last resort๏ฟฝ[39m (0.001 sec)
getPluginVariables helper method
๏ฟฝ[32mโ if no variables are passed in, should return empty๏ฟฝ[39m (0.014 sec)
๏ฟฝ[32mโ if variables are passed in, should return result & get added to name and value๏ฟฝ[39m (0 sec)
versionString helper method
๏ฟฝ[32mโ if no version, should return null๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ return version passed in, if it is within the valid range๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should check and return a valid version๏ฟฝ[39m (0.001 sec)
cordova/plugin/util
getInstalledPlugins helper method
๏ฟฝ[32mโ should return result of PluginInfoProvider's getAllWithinSearchPath method๏ฟฝ[39m (0.001 sec)
saveToConfigXmlOn helper method
๏ฟฝ[32mโ should return true if config.json's autosave option is truthy๏ฟฝ[39m (0.021 sec)
๏ฟฝ[32mโ should return true if options passed in have a truthy save property๏ฟฝ[39m (0 sec)
mergeVariables happy path
๏ฟฝ[32mโ should return variable from cli๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should return empty object if there are no config and no cli variables๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ cli variable takes precedence over config.xml๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ use config.xml variable if no cli variable is passed in๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should get missed variables๏ฟฝ[39m (0 sec)
cordova/prepare
main method
failure
๏ฟฝ[32mโ should invoke util.preProcessOptions as preflight task checker, which, if fails, should trigger promise rejection and only fire the before_prepare hook๏ฟฝ[39m (0.003 sec)
๏ฟฝ[32mโ should invoke util.cdProjectRoot as a preflight task checker, which, if fails, should trigger a promise rejection and fire no hooks๏ฟฝ[39m (0.001 sec)
success
๏ฟฝ[32mโ should fire the before_prepare hook and provide platform and path information as arguments๏ฟฝ[39m (0.013 sec)
๏ฟฝ[32mโ should invoke restore module's installPlatformsFromConfigXML method๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should retrieve PlatformApi instances for each platform provided๏ฟฝ[39m (0.002 sec)
๏ฟฝ[32mโ should invoke restore module's installPluginsFromConfigXML method๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should invoke preparePlatforms method, providing the appropriate platforms๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should fire the after_prepare hook and provide platform and path information as arguments๏ฟฝ[39m (0.001 sec)
preparePlatforms helper method
๏ฟฝ[32mโ should call restoreMissingPluginsForPlatform๏ฟฝ[39m (0.002 sec)
๏ฟฝ[32mโ should retrieve the platform API via getPlatformApi per platform provided, and invoke the prepare method from that API๏ฟฝ[39m (0.003 sec)
๏ฟฝ[32mโ should handle config changes by invoking add_config_changes and save_all๏ฟฝ[39m (0 sec)
restoreMissingPluginsForPlatform helper method
๏ฟฝ[32mโ should resolve quickly and not invoke getPlatformAPI in the easy case of there being no difference between old and new platform.json๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should leverage platform API to remove and add any missing plugins identified๏ฟฝ[39m (0.001 sec)
retrieval of project metadata
๏ฟฝ[32mโ Test 001 : retrieve platforms saved in config.xml๏ฟฝ[39m (0.002 sec)
๏ฟฝ[32mโ Test 002 : retrieve plugins saved in config.xml๏ฟฝ[39m (0.004 sec)
cordova/restore-util
installPlatformsFromConfigXML
๏ฟฝ[32mโ Test#000 : should change specs in config.xml from using ~ to using ^๏ฟฝ[39m (0.098 sec)
๏ฟฝ[32mโ Test#001 : should restore saved platform from package.json๏ฟฝ[39m (0.07 sec)
๏ฟฝ[32mโ Test#017 : should restore saved platform from package.json using an URL spec๏ฟฝ[39m (0.073 sec)
๏ฟฝ[32mโ Test#004 : should not modify either file if both have the same platforms๏ฟฝ[39m (0.059 sec)
๏ฟฝ[32mโ Test#005 : should update package.json to include platforms from config.xml๏ฟฝ[39m (0.053 sec)
๏ฟฝ[32mโ Test#006 : should update a package.json without `cordova` key to match platforms from config.xml๏ฟฝ[39m (0.047 sec)
๏ฟฝ[32mโ Test#007 : should update config.xml to include platforms from package.json๏ฟฝ[39m (0.066 sec)
๏ฟฝ[32mโ Test#016 : should restore platforms & plugins and create a missing package.json๏ฟฝ[39m (0.069 sec)
installPluginsFromConfigXML
๏ฟฝ[32mโ Test#011 : updates config.xml to use the variable found in pkg.json๏ฟฝ[39m (0.097 sec)
๏ฟฝ[32mโ Test#012 : update pkg.json to include plugin and variable found in config.xml๏ฟฝ[39m (0.052 sec)
๏ฟฝ[32mโ Test#013 : update pkg.json AND config.xml to include all plugins and merge unique variables๏ฟฝ[39m (0.064 sec)
๏ฟฝ[32mโ Test#014 : update pkg.json AND config.xml to include all plugins and merge variables (no dupes)๏ฟฝ[39m (0.069 sec)
๏ฟฝ[32mโ Test#015 : update config.xml to include all plugins/variables from pkg.json๏ฟฝ[39m (0.055 sec)
๏ฟฝ[32mโ Test#018 : should restore saved plugin using an URL spec๏ฟฝ[39m (0.057 sec)
run command
failure
๏ฟฝ[32mโ Test 001 : should not run inside a Cordova-based project with no added platforms by calling util.listPlatforms๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 002 : should not run outside of a Cordova-based project๏ฟฝ[39m (0.015 sec)
success
๏ฟฝ[32mโ Test 003 : should call prepare before actually run platform ๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 004 : should get PlatformApi instance for each platform and call its' run method๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ Test 005 : should pass down parameters๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 007 : should call platform's build method๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 008 : should not call build if --nobuild option is passed๏ฟฝ[39m (0.001 sec)
run parameters should not be altered by intermediate build command
๏ฟฝ[32mโ Test 009 : should leave parameters unchanged๏ฟฝ[39m (0.001 sec)
hooks
when platforms are added
๏ฟฝ[32mโ Test 010 : should fire before hooks through the hooker module๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 011 : should fire after hooks through the hooker module๏ฟฝ[39m (0.001 sec)
with no platforms added
๏ฟฝ[32mโ Test 012 : should not fire the hooker๏ฟฝ[39m (0.013 sec)
serve command
๏ฟฝ[33m* Test 001 : should not run outside of a Cordova-based project๏ฟฝ[39m
`serve`
๏ฟฝ[33m* should fall back to assets/www on Android๏ฟฝ[39m
๏ฟฝ[33m* should fall back to www on BlackBerry10๏ฟฝ[39m
๏ฟฝ[33m* should fall back to www on iOS๏ฟฝ[39m
util module
isCordova method
๏ฟฝ[32mโ Test 001 : should return false if it hits the home directory๏ฟฝ[39m (0.006 sec)
๏ฟฝ[32mโ Test 002 : should return false if it cannot find a .cordova directory up the directory tree๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 003 : should return the first directory it finds with a .cordova folder in it๏ฟฝ[39m (0.003 sec)
๏ฟฝ[32mโ Test 004 : should ignore PWD when its undefined๏ฟฝ[39m (0.004 sec)
๏ฟฝ[32mโ Test 005 : should use PWD when available๏ฟฝ[39m (0.005 sec)
๏ฟฝ[32mโ Test 006 : should use cwd as a fallback when PWD is not a cordova dir๏ฟฝ[39m (0.005 sec)
๏ฟฝ[32mโ Test 007 : should ignore platform www/config.xml๏ฟฝ[39m (0.005 sec)
deleteSvnFolders method
๏ฟฝ[32mโ Test 008 : should delete .svn folders in any subdirectory of specified dir๏ฟฝ[39m (0.01 sec)
listPlatforms method
๏ฟฝ[32mโ Test 009 : should only return supported platform directories present in a cordova project dir๏ฟฝ[39m (0.015 sec)
getInstalledPlatformsWithVersions method
๏ฟฝ[32mโ Test 010 : should get the supported platforms in the cordova project dir along with their reported versions๏ฟฝ[39m (0.505 sec)
findPlugins method
๏ฟฝ[32mโ Test 011 : should only return plugin directories present in a cordova project dir๏ฟฝ[39m (0.01 sec)
๏ฟฝ[32mโ Test 012 : should not return ".svn" directories๏ฟฝ[39m (0.008 sec)
๏ฟฝ[32mโ Test 013 : should not return "CVS" directories๏ฟฝ[39m (0.008 sec)
preprocessOptions method
๏ฟฝ[32mโ Test 014 : should throw if called outside of cordova project๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ Test 015 : should throw when no platforms added to project๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ Test 016 : should return default options when no arguments passed๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ Test 017 : should accept single string argument as platform name๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 018 : should accept array of strings as platform names๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 019 : should fall back to installed platform if input doesn't contain platforms list๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 020 : should pick buildConfig if no option is provided, but buildConfig.json exists๏ฟฝ[39m (0.001 sec)
getPlatformApiFunction
๏ฟฝ[32mโ Test 030 : successfully find platform Api๏ฟฝ[39m (0.002 sec)
plugman/platform
add
๏ฟฝ[32mโ Test 002 : should error on non existing plugin.xml๏ฟฝ[39m (0.001 sec)
remove
๏ฟฝ[32mโ Test 003 : should error on non existing plugin.xml๏ฟฝ[39m (0.001 sec)
plugman/create
๏ฟฝ[32mโ Test 002 : should be successful๏ฟฝ[39m (0.03 sec)
๏ฟฝ[32mโ Test 003 : should fail due to an existing plugin.xml๏ฟฝ[39m (0.001 sec)
plugman/install
success
๏ฟฝ[32mโ Test 002 : should emit a results event with platform-agnostic <info>๏ฟฝ[39m (0.009 sec)
๏ฟฝ[32mโ Test 003 : should emit a results event with platform-specific <info>๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ Test 004 : should interpolate variables into <info> tags๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 005 : should call fetch if provided plugin cannot be resolved locally๏ฟฝ[39m (0.006 sec)
engine versions
๏ฟฝ[32mโ Test 007 : should check version if plugin has engine tag๏ฟฝ[39m (0.011 sec)
๏ฟฝ[32mโ Test 008 : should check version and munge it a little if it has "rc" in it so it plays nice with semver (introduce a dash in it)๏ฟฝ[39m (0.011 sec)
๏ฟฝ[32mโ Test 009 : should check specific platform version over cordova version if specified๏ฟฝ[39m (0.012 sec)
๏ฟฝ[32mโ Test 010 : should check platform sdk version if specified๏ฟฝ[39m (0.012 sec)
๏ฟฝ[32mโ Test 011 : should check engine versions๏ฟฝ[39m (0.011 sec)
๏ฟฝ[32mโ Test 012 : should not check custom engine version that is not supported for platform๏ฟฝ[39m (0.011 sec)
with dependencies
๏ฟฝ[32mโ Test 015 : should install specific version of dependency๏ฟฝ[39m (0.015 sec)
๏ฟฝ[32mโ Test 016 : should install any dependent plugins if missing๏ฟฝ[39m (0.018 sec)
๏ฟฝ[32mโ Test 017 : should install any dependent plugins from registry when url is not defined๏ฟฝ[39m (0.032 sec)
๏ฟฝ[32mโ Test 018 : should process all dependent plugins with alternate routes to the same plugin๏ฟฝ[39m (0.026 sec)
๏ฟฝ[32mโ Test 019 : should throw if there is a cyclic dependency๏ฟฝ[39m (0.007 sec)
๏ฟฝ[32mโ Test 020 : install subdir relative to top level plugin if no fetch meta๏ฟฝ[39m (0.017 sec)
๏ฟฝ[32mโ Test 021 : install uses meta data (if available) of top level plugin source๏ฟฝ[39m (0.023 sec)
failure
๏ฟฝ[32mโ Test 023 : should throw if variables are missing๏ฟฝ[39m (0.012 sec)
๏ฟฝ[32mโ Test 025 :should not fail when trying to install plugin less than minimum version. Skip instead ๏ฟฝ[39m (0.004 sec)
๏ฟฝ[32mโ Test 026 : should throw if the engine scriptSrc escapes out of the plugin dir.๏ฟฝ[39m (0.004 sec)
๏ฟฝ[32mโ Test 027 : should throw if a non-default cordova engine platform attribute is not defined.๏ฟฝ[39m (0.005 sec)
๏ฟฝ[32mโ Test 028 : should throw if a non-default cordova engine scriptSrc attribute is not defined.๏ฟฝ[39m (0.005 sec)
common platform handler
resolveSrcPath
๏ฟฝ[32mโ Test 001 : should not throw if path exists๏ฟฝ[39m (0.003 sec)
resolveTargetPath
๏ฟฝ[32mโ Test 002 : should throw if path exists๏ฟฝ[39m (0.002 sec)
๏ฟฝ[32mโ Test 003 : should not throw if path cannot be resolved๏ฟฝ[39m (0.009 sec)
copyFile
๏ฟฝ[32mโ Test 004 : should throw if source path not found๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ Test 005 : should throw if src not in plugin directory๏ฟฝ[39m (0.004 sec)
๏ฟฝ[32mโ Test 006 : should allow symlink src, if inside plugin๏ฟฝ[39m (0.011 sec)
๏ฟฝ[32mโ Test 007 : should deeply symlink directory tree when src is a directory๏ฟฝ[39m (0.018 sec)
๏ฟฝ[32mโ Test 008 : should throw if symlink is linked to a file outside the plugin๏ฟฝ[39m (0.009 sec)
๏ฟฝ[32mโ Test 009 : should throw if dest is outside the project directory๏ฟฝ[39m (0.01 sec)
๏ฟฝ[32mโ Test 010 : should call mkdir -p on target path๏ฟฝ[39m (0.01 sec)
๏ฟฝ[32mโ Test 011 : should call cp source/dest paths๏ฟฝ[39m (0.01 sec)
copyNewFile
๏ฟฝ[32mโ Test 012 : should throw if target path exists๏ฟฝ[39m (0.002 sec)
deleteJava
๏ฟฝ[32mโ Test 013 : should call fs.unlinkSync on the provided paths๏ฟฝ[39m (0.004 sec)
๏ฟฝ[32mโ Test 014 : should delete empty directories after removing source code in a java src path hierarchy๏ฟฝ[39m (0.004 sec)
๏ฟฝ[32mโ Test 015 : should never delete the top-level src directory, even if all plugins added were removed๏ฟฝ[39m (0.003 sec)
dependency module
generateDependencyInfo method
๏ฟฝ[32mโ Test 001 : should return a list of top-level plugins based on what is inside a platform.json file๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ Test 002 : should return a dependency graph for the plugins๏ฟฝ[39m (0.002 sec)
mergeVariables
๏ฟฝ[32mโ use plugin.xml if no cli/config variables๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ cli & config variables take precedence over plugin.xml ๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ should return no variables๏ฟฝ[39m (0.001 sec)
๏ฟฝ[32mโ should throw error if variables are missing๏ฟฝ[39m (0 sec)
**************************************************
* Pending *
**************************************************
1) cordova/platform/addHelper happy path (success conditions) after platform api invocation when the restoring option is not provided should invoke preparePlatforms twice (?!?), once before installPluginsForNewPlatforms and once after... ?!
๏ฟฝ[33mTemporarily disabled with xit๏ฟฝ[39m
2) cordova/plugin/add main method happy path should invoke preparePlatforms if plugman.install returned a falsey value
๏ฟฝ[33mTemporarily disabled with xit๏ฟฝ[39m
3) cordova/plugin/list should warn if plugin list contains a plugin dependency that does not have a version satisfied
๏ฟฝ[33mTemporarily disabled with xit๏ฟฝ[39m
4) serve command Test 001 : should not run outside of a Cordova-based project
๏ฟฝ[33mNo reason given๏ฟฝ[39m
5) serve command `serve` should fall back to assets/www on Android
๏ฟฝ[33mTemporarily disabled with xit๏ฟฝ[39m
6) serve command `serve` should fall back to www on BlackBerry10
๏ฟฝ[33mTemporarily disabled with xit๏ฟฝ[39m
7) serve command `serve` should fall back to www on iOS
๏ฟฝ[33mTemporarily disabled with xit๏ฟฝ[39m
Executed 293 of 300 specs๏ฟฝ[33m INCOMPLETE๏ฟฝ[39m๏ฟฝ[33m (7 PENDING)๏ฟฝ[39m in 15 secs.
> [email protected] e2e-tests C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib
> jasmine JASMINE_CONFIG_PATH=integration-tests/jasmine.json
Jasmine started
end-to-end plugin dependency tests
๏ฟฝ[31mร Test 029 : should fail if dependency already installed is wrong version๏ฟฝ[39m (18 secs)
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mExpected 'EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-lGgynP\project\plugins\Test1'' to contain 'does not satisfy dependency plugin requirement'.๏ฟฝ[39m
๏ฟฝ[31mร Test 030 : should pass if dependency already installed is wrong version with --force๏ฟฝ[39m (18 secs)
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mError: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-3kDi9X\project\plugins\Test1'๏ฟฝ[39m
๏ฟฝ[31mร Test 031 : should pass if dependency already installed is same major version (if specific version is specified)๏ฟฝ[39m (16 secs)
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mError: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-tLhpim\project\plugins\Test1'๏ฟฝ[39m
๏ฟฝ[31mร Test 032 : should handle two plugins with same dependent plugin๏ฟฝ[39m (8 secs)
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mexpected C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-4uOc0u\project\plugins\Test2 to exist๏ฟฝ[39m
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mExpected 'EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-4uOc0u\project\plugins\Test1'' to contain 'does not satisfy dependency plugin requirement'.๏ฟฝ[39m
๏ฟฝ[31mร Test 033 : should use a dev version of a dependent plugin if it is already installed๏ฟฝ[39m (31 secs)
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mError: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-gR3yfn\project\plugins\Test4'๏ฟฝ[39m
HooksRunner
๏ฟฝ[32mโ Test 001 : should throw if provided directory is not a cordova project๏ฟฝ[39m (0.338 sec)
๏ฟฝ[32mโ Test 002 : should not throw if provided directory is a cordova project๏ฟฝ[39m (0.564 sec)
fire method
application hooks
๏ฟฝ[32mโ Test 004 : should execute hook scripts serially๏ฟฝ[39m (1 sec)
๏ฟฝ[32mโ Test 005 : should execute hook scripts serially from .cordova/hooks/hook_type and hooks/hook_type directories๏ฟฝ[39m (1 sec)
๏ฟฝ[32mโ Test 006 : should execute hook scripts serially from config.xml๏ฟฝ[39m (1 sec)
๏ฟฝ[32mโ Test 007 : should execute hook scripts serially from config.xml including platform scripts๏ฟฝ[39m (1 sec)
๏ฟฝ[32mโ Test 008 : should filter hook scripts from config.xml by platform๏ฟฝ[39m (1 sec)
plugin hooks
๏ฟฝ[32mโ Test 011 : should filter hook scripts from plugin.xml by platform๏ฟฝ[39m (2 secs)
๏ฟฝ[33m* Test 012 : should run before_plugin_uninstall, before_plugin_install, after_plugin_install hooks for a plugin being installed with correct opts.plugin context๏ฟฝ[39m
plugin hooks
๏ฟฝ[32mโ Test 009 : should execute hook scripts serially from plugin.xml๏ฟฝ[39m (0.638 sec)
๏ฟฝ[32mโ Test 010 : should execute hook scripts serially from plugin.xml including platform scripts๏ฟฝ[39m (0.948 sec)
๏ฟฝ[32mโ Test 013 : should not execute the designated hook when --nohooks option specifies the exact hook name๏ฟฝ[39m (0.731 sec)
๏ฟฝ[32mโ Test 014 : should not execute a set of matched hooks when --nohooks option specifies the hook pattern.๏ฟฝ[39m (0.687 sec)
๏ฟฝ[32mโ Test 015 : should not execute all hooks when --nohooks option specifies .๏ฟฝ[39m (0.579 sec)
module-level hooks (event handlers)
๏ฟฝ[32mโ Test 016 : should fire handlers using cordova.on๏ฟฝ[39m (2 secs)
๏ฟฝ[32mโ Test 017 : should pass the project root folder as parameter into the module-level handlers๏ฟฝ[39m (2 secs)
๏ฟฝ[32mโ Test 018 : should be able to stop listening to events using cordova.off๏ฟฝ[39m (2 secs)
๏ฟฝ[32mโ Test 019 : should execute event listeners serially๏ฟฝ[39m (2 secs)
๏ฟฝ[32mโ Test 021 : should pass data object that fire calls into async handlers๏ฟฝ[39m (1 sec)
๏ฟฝ[32mโ Test 022 : should pass data object that fire calls into sync handlers๏ฟฝ[39m (1 sec)
๏ฟฝ[32mโ Test 023 : should error if any script exits with non-zero code๏ฟฝ[39m (0.655 sec)
๏ฟฝ[32mโ Test 024 : should not error if the hook is unrecognized๏ฟฝ[39m (0.449 sec)
extractSheBangInterpreter
๏ฟฝ[32mโ Test 025 : should not read uninitialized buffer contents๏ฟฝ[39m (0.471 sec)
pkgJson
plugin end-to-end
๏ฟฝ[32mโ Test#001 : should successfully add and remove a plugin with save and correct spec๏ฟฝ[39m (13 secs)
๏ฟฝ[32mโ Test#002 : should NOT add a plugin to package.json if --save is not used๏ฟฝ[39m (30 secs)
๏ฟฝ[32mโ Test#003 : should NOT remove plugin from package.json if there is no --save๏ฟฝ[39m (15 secs)
๏ฟฝ[32mโ Test#004 : should successfully add and remove a plugin with variables and save to package.json๏ฟฝ[39m (15 secs)
๏ฟฝ[32mโ Test#005 : should successfully add and remove multiple plugins with save & fetch๏ฟฝ[39m (27 secs)
๏ฟฝ[32mโ Test#023 : use pinned/lastest version if there is no platform/plugin version passed in and no platform/plugin versions in pkg.json or config.xml๏ฟฝ[39m (34 secs)
๏ฟฝ[31mร Test#025 : if you add a platform/plugin with local path, pkg.json gets updated๏ฟฝ[39m (23 secs)
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mError: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-pkgJson-hdlD23\project\plugins\cordova-lib-test-plugin'๏ฟฝ[39m
platform end-to-end with --save
๏ฟฝ[32mโ Test#006 : platform is added and removed correctly with --save๏ฟฝ[39m (14 secs)
๏ฟฝ[32mโ Test#007 : should not remove platforms from package.json when removing without --save๏ฟฝ[39m (26 secs)
๏ฟฝ[32mโ Test#008 : should not add platform to package.json when adding without --save๏ฟฝ[39m (13 secs)
๏ฟฝ[32mโ Test#009 : should only add the platform to package.json with --save๏ฟฝ[39m (35 secs)
Subproject Path: CordovaLib
Subproject Path: app
๏ฟฝ[32mโ Test#010 : two platforms are added and removed correctly with --save --fetch๏ฟฝ[39m (54 secs)
During add, if pkg.json has a platform/plugin spec, use that one.
๏ฟฝ[32mโ Test#020 : During add, if pkg.json has a spec, use that one.๏ฟฝ[39m (35 secs)
During add, if config.xml has a platform/plugin spec and pkg.json does not, use config.
๏ฟฝ[32mโ Test#021 : If config.xml has a spec (and none was specified and pkg.json does not have one), use config.๏ฟฝ[39m (0.045 sec)
During add, if add specifies a platform spec, use that one regardless of what is in pkg.json or config.xml
๏ฟฝ[32mโ Test#022 : when adding with a specific platform version, always use that one.๏ฟฝ[39m (34 secs)
local path is added to config.xml without pkg.json
๏ฟฝ[32mโ Test#026 : if you add a platform with local path, config.xml gets updated๏ฟฝ[39m (26 secs)
๏ฟฝ[32mโ Test#027 : if you add a plugin with local path, config.xml gets updated๏ฟฝ[39m (7 secs)
cordova/platform end-to-end
๏ฟฝ[32mโ Test 001 : should successfully run๏ฟฝ[39m (25 secs)
๏ฟฝ[31mร Test 002 : should install plugins correctly while adding platform๏ฟฝ[39m (18 secs)
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mError: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-cordova-platform-e2e-test-i2drcW\project\plugins\com.phonegap.plugins.childbrowser'๏ฟฝ[39m
๏ฟฝ[32mโ Test 007 : should add and remove platform from node_modules directory๏ฟฝ[39m (34 secs)
๏ฟฝ[32mโ Test 008 : should remove dependency when removing parent plugin๏ฟฝ[39m (34 secs)
cp: no such file or directory: C:\Users\Jan\AppData\Local\Temp\cordova-lib-cordova-platform-e2e-test-mMAlto\project\node_modules\cordova-platform-test\node_modules
test-platform:Api:prepare
test-platform:Api:getPlatformInfo
test-platform:Api:prepare
test-platform:Api:getPlatformInfo
๏ฟฝ[32mโ Test 009 : should add and remove 3rd party platforms๏ฟฝ[39m (18 secs)
plugin fetching version selection
๏ฟฝ[32mโ Test 001 : should handle a mix of upper bounds and single versions๏ฟฝ[39m (0.327 sec)
๏ฟฝ[32mโ Test 002 : should apply upper bound engine constraints when there are no unspecified constraints above the upper bound๏ฟฝ[39m (0.275 sec)
๏ฟฝ[32mโ Test 003 : should apply upper bound engine constraints when there are unspecified constraints above the upper bound๏ฟฝ[39m (0.272 sec)
๏ฟฝ[32mโ Test 004 : should handle the case where there are no constraints for earliest releases๏ฟฝ[39m (0.363 sec)
๏ฟฝ[32mโ Test 005 : should handle the case where the lowest version is unsatisfied๏ฟฝ[39m (0.29 sec)
๏ฟฝ[32mโ Test 006 : should handle upperbounds if no single version constraints are given๏ฟฝ[39m (0.27 sec)
๏ฟฝ[32mโ Test 007 : should apply upper bounds greater than highest version๏ฟฝ[39m (0.259 sec)
๏ฟฝ[32mโ Test 008 : should treat empty constraints as satisfied๏ฟฝ[39m (0.263 sec)
๏ฟฝ[32mโ Test 009 : should ignore an empty cordovaDependencies entry๏ฟฝ[39m (0.267 sec)
๏ฟฝ[32mโ Test 010 : should ignore a badly formatted semver range๏ฟฝ[39m (0.254 sec)
๏ฟฝ[32mโ Test 011 : should respect unreleased versions in constraints๏ฟฝ[39m (0.264 sec)
๏ฟฝ[32mโ Test 012 : should respect plugin constraints๏ฟฝ[39m (0.269 sec)
๏ฟฝ[32mโ Test 013 : should respect cordova constraints๏ฟฝ[39m (0.281 sec)
๏ฟฝ[32mโ Test 014 : should not include pre-release versions๏ฟฝ[39m (0.259 sec)
๏ฟฝ[32mโ Test 015 : should not fail if there is no engine in the npm info๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ Test 016 : should not fail if there is no cordovaDependencies in the engines๏ฟฝ[39m (0 sec)
๏ฟฝ[32mโ Test 017 : should handle extra whitespace๏ฟฝ[39m (0.263 sec)
๏ฟฝ[32mโ Test 018 : should ignore badly typed version requirement entries๏ฟฝ[39m (0.27 sec)
๏ฟฝ[32mโ Test 019 : should ignore badly typed constraint entries๏ฟฝ[39m (0.29 sec)
๏ฟฝ[32mโ Test 020 : should ignore bad semver versions๏ฟฝ[39m (0.257 sec)
๏ฟฝ[32mโ Test 021 : should not fail if there are bad semver versions๏ฟฝ[39m (0.269 sec)
๏ฟฝ[32mโ Test 022 : should properly warn about multiple unmet requirements๏ฟฝ[39m (0.26 sec)
๏ฟฝ[32mโ Test 023 : should properly warn about both unmet latest and upper bound requirements๏ฟฝ[39m (0.285 sec)
๏ฟฝ[32mโ Test 024 : should not warn about versions past latest๏ฟฝ[39m (0.274 sec)
๏ฟฝ[32mโ Test 025 : clean up after plugin fetch spec๏ฟฝ[39m (0.044 sec)
plugin end-to-end
๏ฟฝ[31mร Test 001 : should successfully add and remove a plugin with no options๏ฟฝ[39m (9 secs)
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mError: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_test-v8zjBR\project\plugins\org.apache.cordova.fakeplugin1'๏ฟฝ[39m
๏ฟฝ[31mร Test 004 : should successfully add a plugin using relative path when running from subdir inside of project๏ฟฝ[39m (8 secs)
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mError: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_test-v8zjBR\project\plugins\org.apache.cordova.fakeplugin1'๏ฟฝ[39m
๏ฟฝ[31mร Test 005 : should respect preference default values๏ฟฝ[39m (9 secs)
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mError: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_test-v8zjBR\project\plugins\org.test.defaultvariables'๏ฟฝ[39m
๏ฟฝ[31mร Test 006 : should successfully add a plugin when specifying CLI variables๏ฟฝ[39m (9 secs)
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mError: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_test-v8zjBR\project\plugins\org.test.defaultvariables'๏ฟฝ[39m
๏ฟฝ[32mโ Test 007 : should not check npm info when using the searchpath flag๏ฟฝ[39m (2 secs)
๏ฟฝ[32mโ Test 008 : should not check npm info when using the noregistry flag๏ฟฝ[39m (2 secs)
๏ฟฝ[32mโ Test 009 : should not check npm info when fetching from a Git repository๏ฟฝ[39m (24 secs)
๏ฟฝ[32mโ Test 010 : should select the plugin version based on npm info when fetching from npm๏ฟฝ[39m (4 secs)
๏ฟฝ[32mโ Test 011 : should handle scoped npm packages๏ฟฝ[39m (2 secs)
๏ฟฝ[32mโ Test 012 : should handle scoped npm packages with given version tags๏ฟฝ[39m (2 secs)
fetch
plugin in a dir with spaces
๏ฟฝ[33m* should copy locally-available plugin to plugins directory when spaces in path๏ฟฝ[39m
local plugins
๏ฟฝ[32mโ Test 001 : should copy locally-available plugin to plugins directory๏ฟฝ[39m (0.056 sec)
๏ฟฝ[32mโ Test 002 : should copy locally-available plugin to plugins directory when adding a plugin with searchpath argument๏ฟฝ[39m (0.106 sec)
๏ฟฝ[32mโ Test 003 : should create a symlink if used with `link` param๏ฟฝ[39m (0.016 sec)
๏ฟฝ[32mโ Test 004 : should fail when the expected ID doesn't match๏ฟฝ[39m (0.04 sec)
๏ฟฝ[32mโ Test 005 : should succeed when the expected ID is correct๏ฟฝ[39m (0.059 sec)
๏ฟฝ[32mโ Test 006 : should fail when the expected ID with version specified doesn't match๏ฟฝ[39m (0.065 sec)
๏ฟฝ[32mโ Test 007 : should succeed when the plugin version specified is correct๏ฟฝ[39m (0.056 sec)
๏ฟฝ[32mโ Test 027 : should copy locally-available plugin to plugins directory๏ฟฝ[39m (0.022 sec)
๏ฟฝ[32mโ Test 028 : should fail when locally-available plugin is missing pacakge.json๏ฟฝ[39m (0.003 sec)
fetch recursive error CB-8809
๏ฟฝ[32mโ Test 021 : should skip copy to avoid recursive error๏ฟฝ[39m (0.005 sec)
plugman/uninstall
uninstallPlatform
success
๏ฟฝ[32mโ Test 002 : should get PlatformApi instance for platform and invoke its' removePlugin method๏ฟฝ[39m (2 secs)
๏ฟฝ[32mโ Test 003 : should return propagate value returned by PlatformApi removePlugin method๏ฟฝ[39m (2 secs)
๏ฟฝ[32mโ Test 014 : should uninstall dependent plugins๏ฟฝ[39m (2 secs)
failure
๏ฟฝ[32mโ Test 004 : should throw if platform is unrecognized๏ฟฝ[39m (2 secs)
๏ฟฝ[32mโ Test 005 : should throw if plugin is missing๏ฟฝ[39m (2 secs)
uninstallPlugin
with dependencies
๏ฟฝ[32mโ Test 006 : should delete all dependent plugins๏ฟฝ[39m (2 secs)
๏ฟฝ[32mโ Test 007 : should fail if plugin is a required dependency๏ฟฝ[39m (2 secs)
๏ฟฝ[32mโ Test 008 : allow forcefully removing a plugin๏ฟฝ[39m (2 secs)
๏ฟฝ[32mโ Test 009 : never remove top level plugins if they are a dependency๏ฟฝ[39m (2 secs)
๏ฟฝ[32mโ Test 010 : should not remove dependent plugin if it was installed after as top-level๏ฟฝ[39m (2 secs)
uninstall
failure
๏ฟฝ[32mโ Test 011 : should throw if platform is unrecognized๏ฟฝ[39m (2 secs)
๏ฟฝ[32mโ Test 012 : should throw if plugin is missing๏ฟฝ[39m (2 secs)
end
๏ฟฝ[32mโ Test 013 : end๏ฟฝ[39m (3 secs)
**************************************************
* Failures *
**************************************************
1) end-to-end plugin dependency tests Test 029 : should fail if dependency already installed is wrong version
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mExpected 'EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-lGgynP\project\plugins\Test1'' to contain 'does not satisfy dependency plugin requirement'.๏ฟฝ[39m
at <Jasmine>
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\integration-tests\fetch.spec.js:77:37
at process._tickCallback (internal/process/next_tick.js:68:7)
2) end-to-end plugin dependency tests Test 030 : should pass if dependency already installed is wrong version with --force
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mError: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-3kDi9X\project\plugins\Test1'๏ฟฝ[39m
Error: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-3kDi9X\project\plugins\Test1'
at Object.realpathSync (fs.js:1453:9)
at Object.convertToRealPathSafe (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\cordova\util.js:192:19)
at Function.runInstall (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\plugman\install.js:263:30)
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\plugman\install.js:78:35
at _fulfilled (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:854:54)
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:883:30
at Promise.promise.promiseDispatch (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:816:13)
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:877:14
at runSingle (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:137:13)
at flush (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:125:13)
3) end-to-end plugin dependency tests Test 031 : should pass if dependency already installed is same major version (if specific version is specified)
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mError: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-tLhpim\project\plugins\Test1'๏ฟฝ[39m
Error: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-tLhpim\project\plugins\Test1'
at Object.realpathSync (fs.js:1453:9)
at Object.convertToRealPathSafe (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\cordova\util.js:192:19)
at Function.runInstall (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\plugman\install.js:263:30)
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\plugman\install.js:78:35
at _fulfilled (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:854:54)
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:883:30
at Promise.promise.promiseDispatch (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:816:13)
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:877:14
at runSingle (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:137:13)
at flush (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:125:13)
4) end-to-end plugin dependency tests Test 032 : should handle two plugins with same dependent plugin
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mexpected C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-4uOc0u\project\plugins\Test2 to exist๏ฟฝ[39m
at <Jasmine>
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\integration-tests\fetch.spec.js:126:56
at process._tickCallback (internal/process/next_tick.js:68:7)
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mExpected 'EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-4uOc0u\project\plugins\Test1'' to contain 'does not satisfy dependency plugin requirement'.๏ฟฝ[39m
at <Jasmine>
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\integration-tests\fetch.spec.js:128:37
at process._tickCallback (internal/process/next_tick.js:68:7)
5) end-to-end plugin dependency tests Test 033 : should use a dev version of a dependent plugin if it is already installed
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mError: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-gR3yfn\project\plugins\Test4'๏ฟฝ[39m
Error: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_dependency_test-gR3yfn\project\plugins\Test4'
at Object.realpathSync (fs.js:1453:9)
at Object.convertToRealPathSafe (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\cordova\util.js:192:19)
at Function.runInstall (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\plugman\install.js:263:30)
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\plugman\install.js:78:35
at _fulfilled (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:854:54)
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:883:30
at Promise.promise.promiseDispatch (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:816:13)
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:877:14
at runSingle (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:137:13)
at flush (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:125:13)
6) pkgJson plugin end-to-end Test#025 : if you add a platform/plugin with local path, pkg.json gets updated
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mError: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-pkgJson-hdlD23\project\plugins\cordova-lib-test-plugin'๏ฟฝ[39m
Error: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-pkgJson-hdlD23\project\plugins\cordova-lib-test-plugin'
at Object.realpathSync (fs.js:1453:9)
at Object.convertToRealPathSafe (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\cordova\util.js:192:19)
at Function.runInstall (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\plugman\install.js:263:30)
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\plugman\install.js:78:35
at _fulfilled (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:854:54)
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:883:30
at Promise.promise.promiseDispatch (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:816:13)
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:877:14
at runSingle (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:137:13)
at flush (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:125:13)
7) cordova/platform end-to-end Test 002 : should install plugins correctly while adding platform
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mError: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-cordova-platform-e2e-test-i2drcW\project\plugins\com.phonegap.plugins.childbrowser'๏ฟฝ[39m
Error: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-cordova-platform-e2e-test-i2drcW\project\plugins\com.phonegap.plugins.childbrowser'
at Object.realpathSync (fs.js:1453:9)
at Object.convertToRealPathSafe (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\cordova\util.js:192:19)
at Function.runInstall (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\plugman\install.js:263:30)
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\plugman\install.js:78:35
at _fulfilled (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:854:54)
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:883:30
at Promise.promise.promiseDispatch (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:816:13)
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:877:14
at runSingle (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:137:13)
at flush (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:125:13)
8) plugin end-to-end Test 001 : should successfully add and remove a plugin with no options
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mError: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_test-v8zjBR\project\plugins\org.apache.cordova.fakeplugin1'๏ฟฝ[39m
Error: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_test-v8zjBR\project\plugins\org.apache.cordova.fakeplugin1'
at Object.realpathSync (fs.js:1453:9)
at Object.convertToRealPathSafe (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\cordova\util.js:192:19)
at Function.runInstall (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\plugman\install.js:263:30)
at <Jasmine>
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\plugman\install.js:78:35
at _fulfilled (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:854:54)
9) plugin end-to-end Test 004 : should successfully add a plugin using relative path when running from subdir inside of project
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mError: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_test-v8zjBR\project\plugins\org.apache.cordova.fakeplugin1'๏ฟฝ[39m
Error: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_test-v8zjBR\project\plugins\org.apache.cordova.fakeplugin1'
at Object.realpathSync (fs.js:1453:9)
at Object.convertToRealPathSafe (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\cordova\util.js:192:19)
at Function.runInstall (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\plugman\install.js:263:30)
at <Jasmine>
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\plugman\install.js:78:35
at _fulfilled (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:854:54)
10) plugin end-to-end Test 005 : should respect preference default values
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mError: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_test-v8zjBR\project\plugins\org.test.defaultvariables'๏ฟฝ[39m
Error: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_test-v8zjBR\project\plugins\org.test.defaultvariables'
at Object.realpathSync (fs.js:1453:9)
at Object.convertToRealPathSafe (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\cordova\util.js:192:19)
at Function.runInstall (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\plugman\install.js:263:30)
at <Jasmine>
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\plugman\install.js:78:35
at _fulfilled (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:854:54)
11) plugin end-to-end Test 006 : should successfully add a plugin when specifying CLI variables
๏ฟฝ[31m- ๏ฟฝ[39m๏ฟฝ[31mError: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_test-v8zjBR\project\plugins\org.test.defaultvariables'๏ฟฝ[39m
Error: EPERM: operation not permitted, stat 'C:\Users\Jan\AppData\Local\Temp\cordova-lib-plugin_test-v8zjBR\project\plugins\org.test.defaultvariables'
at Object.realpathSync (fs.js:1453:9)
at Object.convertToRealPathSafe (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\cordova\util.js:192:19)
at Function.runInstall (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\plugman\install.js:263:30)
at <Jasmine>
at C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\src\plugman\install.js:78:35
at _fulfilled (C:\Projects\experiments\cordova-cross-spawn-test\cordova-lib\node_modules\q\q.js:854:54)
**************************************************
* Pending *
**************************************************
1) HooksRunner fire method plugin hooks Test 012 : should run before_plugin_uninstall, before_plugin_install, after_plugin_install hooks for a plugin being installed with correct opts.plugin context
๏ฟฝ[33mTemporarily disabled with xit๏ฟฝ[39m
2) fetch plugin in a dir with spaces should copy locally-available plugin to plugins directory when spaces in path
๏ฟฝ[33mNo reason given๏ฟฝ[39m
Executed 107 of 109 specs๏ฟฝ[31m (11 FAILED)๏ฟฝ[39m๏ฟฝ[33m (2 PENDING)๏ฟฝ[39m in 12 mins 57 secs.