Commit Graph

6 Commits

Author SHA1 Message Date
manchandavishal ab7d97fe45 Run npm nodejs job with Firefox browser
This patch update browser from Chrome to Firefox
in karma.conf.js because nodejs fails with Chrome
browser as not able to access some URL.
So let's switch to Firefox browser now then we can
use Chrome browser in future once this issue is resolved.

It also bump few pacakges version in 'lower-constraints.txt'
to fix lower-constraint job.

Change-Id: Id8454b0b0f7dc4b257699734f779935fb05b512f
2020-12-23 13:41:31 +00:00
Timur Sufiev 4728d454e4 Add JS unit tests runner and commands to dashboard
Targets-blueprint: metadata-assignment-and-propagation
Change-Id: Id71f106e02329c555cd105204723637536e4c313
2016-10-07 16:09:01 +03:00
zhurong ed344e55aa Update murano-dashboard eslint devDependencies
Synchronize the eslint and eslint-config-openstack versions with horizon.

Change-Id: I117d1e5e418183cc72048a889acbd825a240cfe0
2016-09-21 11:27:26 +08:00
Darla Ahlert 28b49ebef2 Update eslint devDependencies in Murano dashboard
Currently, murano-dashboard has
"devDependencies": {
    "eslint": "^0.23.0",
    "eslint-config-openstack": "1.2.0"
  }
while horizon has switched to more recent and stable options of:
    "eslint": "1.2.1",
    "eslint-config-openstack": "1.2.3"

This updates the devDependencies in Murano dashboard to
mirror those of horizon.

Change-Id: I56b93cfba2d69319ca4d4a5f1b5983009b302168
Closes-Bug: #1524552
2016-01-20 08:44:50 -06:00
Kirill Zaitsev 0f6186b231 Adopt openstack-config for eslint
Since openstack-config for eslint is now published on npm we should use
it as basis for our linting rules. It is actually stricter, than our
current semi-default config as it enables some of the previously
unchecked rules.

Partially implements: blueprint add-js-lint-jobs

Change-Id: I0cb8247167a44f30a657693442f99a87f116350a
2015-07-29 00:43:24 +03:00
Kirill Zaitsev 886807c337 Add eslint javascript checker
This commit adds a eslint tox environment, that installs eslint and
checks muranodashboard js code against it.

Eslint is the current linter of choice for horizon, because it is
capable of detecting both style and syntax errors (and does not have
license limitations of jshint).

To run: tox -e eslint
Partially implements: blueprint add-js-lint-jobs

Change-Id: I645f279ab6ac45b7d1d872ded803c126dd0a10e7
2015-07-13 13:57:50 +03:00