b532943a31
This patch updates outdated JavaScript dev dependencies. The latest Jasmine version makes nested beforeEach and unhandled promise rejection fail, this was fixed. Also, the latest Jasmine version runs tests in random order by default, random is set to false for now to prevent tests failures. Finally, the latest Jasmine version supports a new configuration option failSpecWithNoExpectations. By default, this option is set to false and Jasmine reports specs that have no expectations as passed. Setting this option to true tells Jasmine to report specs without as expectations as failed. For now, it is set to false for openstack-dashboard tests, this should be changed in future. Change-Id: I04d5c3ce7f7e0a9a38251e975b68bfa1998e556f
29 lines
1023 B
JSON
29 lines
1023 B
JSON
{
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"name": "horizon",
|
|
"description": "OpenStack Horizon - Angular",
|
|
"repository": "none",
|
|
"license": "Apache 2.0",
|
|
"devDependencies": {
|
|
"eslint": "3.0.0",
|
|
"eslint-config-openstack": "4.0.1",
|
|
"eslint-plugin-angular": "4.0.1",
|
|
"jasmine-core": "3.6.0",
|
|
"karma": "5.2.3",
|
|
"karma-cli": "2.0.0",
|
|
"karma-coverage": "2.0.3",
|
|
"karma-firefox-launcher": "2.1.0",
|
|
"karma-jasmine": "4.0.1",
|
|
"karma-ng-html2js-preprocessor": "1.0.0",
|
|
"karma-threshold-reporter": "0.1.15"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "if [ ! -d .tox/npm ]; then tox -e npm --notest; fi",
|
|
"test": "karma start horizon/karma.conf.js --single-run && karma start openstack_dashboard/karma.conf.js --single-run",
|
|
"lint": "eslint --no-color openstack_dashboard/static horizon/static openstack_dashboard/dashboards/*/static",
|
|
"lintq": "eslint --quiet openstack_dashboard/static horizon/static openstack_dashboard/dashboards/*/static"
|
|
},
|
|
"dependencies": {}
|
|
}
|