When e2e tests download the latest version of default assets to autoload, the deleteOlderAssets function would run. The node version was not being checked, resulting in all duplicate assets with the same version being erased, regardless of node version.
This function will now delete all autoload files that do not match the teraslice node version before checking for older asset versions.
When e2e tests download the latest version of default assets to autoload, the
deleteOlderAssets
function would run. The node version was not being checked, resulting in all duplicate assets with the same version being erased, regardless of node version.This function will now delete all autoload files that do not match the teraslice node version before checking for older asset versions.
Ref: #3556