Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Reenable and fix skipped Application unit tests - Closes #3947 #3964

Merged
merged 2 commits into from
Jul 17, 2019

Conversation

2snEM6
Copy link
Contributor

@2snEM6 2snEM6 commented Jul 16, 2019

What was the problem?

Jest Unit tests for application.js were skipped and all of them were failing.

How did I fix it?

By reenabling them and replacing the faulty migrations instanceof Array by Array.isArray(migrations) which was causing the assertion in registerMigrations method to throw.

How to test it?

Run npm run jest:unit application.spec.js

Review checklist

@2snEM6 2snEM6 self-assigned this Jul 16, 2019
@2snEM6 2snEM6 requested review from ishantiw and removed request for shuse2 July 16, 2019 12:52
Copy link
Contributor

@ishantiw ishantiw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a minor comment so approving

@2snEM6 2snEM6 changed the title Reenable and fix skipped Application unit tests Reenable and fix skipped Application unit tests - Closes #3947 Jul 17, 2019
@shuse2 shuse2 merged commit acffdbb into release/2.2.0 Jul 17, 2019
@shuse2 shuse2 deleted the 3947-Jest_application_tests_skipped branch July 17, 2019 09:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants