Bug #20228

Fix jest tests

Added by matan werbner 10 months ago. Updated 7 months ago.

Status:Closed
Priority:Normal
Assigned To:matan werbner
Category:Tests
Target version:-
Difficulty: Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/foreman/pull/4650
Story points-
Velocity based estimate-
Release1.16.0Release relationshipAuto

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 10 months ago

fixes #20228 - fix jest testing

History

#1 Updated by The Foreman Bot 10 months ago

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

#2 Updated by matan werbner 10 months ago

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

#3 Updated by Marek Hulán 10 months ago

  • Release set to 1.16.0

#4 Updated by Daniel Lobato Garcia 7 months ago

  • Category set to Tests

Also available in: Atom PDF