Project

General

Profile

Actions

Bug #30241

closed

react tests - eslint is failing

Added by John Mitsch over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Eslint tests are failing in GH action, its hard to reproduce locally so may be related to a minor nodejs update, but cause is uncertain.

Run npm run lint

lint /home/runner/work/katello/katello/katello
npx eslint webpack/

Cannot read property 'forEach' of undefined
Occurred while linting /home/runner/work/katello/katello/katello/webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/UpdateDialog.js:50
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! lint: `npx eslint webpack/`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/runner/.npm/_logs/2020-06-29T14_43_15_507Z-debug.log
##[error]Process completed with exit code 1.

Actions

Also available in: Atom PDF