Bug #20228

Fix jest tests

Added by matan werbner about 1 year ago. Updated 7 days ago.

Status:Closed
Priority:Normal
Assignee:matan werbner
Category:Tests
Target version:1.16.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/4650

Description

Jest fails after removing babelrc (to avoid duplication with plugins).
fix: set up babel-jest, and add minimal .babelrc with "stage-0" preset to support spread operator.

Associated revisions

Revision ef38c18a
Added by matan werbner about 1 year ago

fixes #20228 - fix jest testing

History

#1 Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4650 added

#2 Updated by matan werbner about 1 year ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Marek Hulán about 1 year ago

  • Legacy Backlogs Release (now unused) set to 240

#4 Updated by Daniel Lobato Garcia 10 months ago

  • Category set to Tests

Also available in: Atom PDF