The openstack eslint package is just really not needed at this
point. Use standardjs and run --fix on it.
Switch away from using node 8 to run linters and tests.
Change-Id: I51f68d4ec30c8da5d1601ef00045e53f90d0554b
Update to babel v7 and webpack v4
Remove runtime depend on corejs-2 which is
unsupported. Just switch to runtime which requires polyfills be
provided by the end user.
Remove NSP - the service is being shut down and the important bits
are built in to npm now.
istanbul has been replaced by the nyc runner. Update karma
to latest.
Update yaml-loader and json-loader
Disable browser testing for now - we'll bring it back in a followup.
Change-Id: I45d1f77bb43e5d67f4154c5149fac77b853e3686
This patch adds 'functional' tests that will be run by DSVM gate.
A 'cloudsConfig.js' file reads 'clouds.yaml' and converts it to json.
'clouds.yaml' file is searched from the following locations:
- current directory
- ~/.config/openstack
- /etc/openstack
The first file found wins.
For browser, webpack uses a 'yaml' loader and rewrites
'helper/cloudsConfig.js' requirement to 'json!yaml!clouds.yaml'.
A dummy test has been added to demonstrate use of devstack config.
Change-Id: I55909862c70a4cbe22b2820e51c2969d68d8154a
This commits introduces integration with Istanbul which allows
to track code coverage.
Change-Id: Ia106b256308a8d0f7c286134f997c7efd4bcf624
Co-Authored-By: Michael Krotscheck <krotscheck@gmail.com>
This commit introduces Karma test runner which allows running
Jasmine-based tests in browsers.
Change-Id: I11652f31fb56e9f6ee0dbfd3359259bb3e4f68fd
Co-Authored-By: Michael Krotscheck <krotscheck@gmail.com>