Project

General

Profile

Bug #29637

Allow use of foremanReact from foreman in React tests

Added by John Mitsch almost 2 years ago. Updated over 1 year ago.

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

Description

We used to mock foremanReact, but we can use it directly from the sibling foreman directory during testing through jest (the react test runner) configuration.

Associated revisions

Revision cb8ed4df (diff)
Added by John Mitsch over 1 year ago

Fixes #29637 - Allow jest test to use foremanReact

Jest allows local modules to be specified by path, which allows us to use foremanReact as long as foreman is present in a sibling directory to Katello

History

#1 Updated by The Foreman Bot almost 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8682 added

#2 Updated by John Mitsch almost 2 years ago

  • Description updated (diff)

#3 Updated by Chris Roberts over 1 year ago

  • Triaged changed from No to Yes

#4 Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases added

#5 Updated by John Mitsch over 1 year ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Jonathon Turel over 1 year ago

  • Target version changed from 1223 to Katello 3.16.0

#7 Updated by Jonathon Turel over 1 year ago

  • Fixed in Releases Katello 3.17.0 added
  • Fixed in Releases deleted ()
  • Pull request deleted (https://github.com/Katello/katello/pull/8682)

Also available in: Atom PDF