Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] From Jasmine to Jest conversion #4870

Closed

Conversation

ZitaNemeckova
Copy link
Contributor

@ZitaNemeckova ZitaNemeckova commented Nov 5, 2018

@miq-bot add_label wip

Tools/guides:
https://jestjs.io/docs/en/migration-guide
https://github.com/skovhus/jest-codemods

Run:
bundle exec rake spec:jest

Possible problems:

  • templateUrl -> convert a component to new js and use HTML file

TODO:
Move all angular stuff from config/jest.setup.js to specs that need it. Extra PR #5027
Spinner
git cherry-pick 71a3ef4c1567c39aa45c9931f1c4e2c484666898
Clean-up issues:

  • toHaveClass make our own function or rewrite to use jQuery's hasClass?
  • codeclimate issues
  • clean up commits

@miq-bot miq-bot changed the title From Jasmine to Jest conversion [WIP] From Jasmine to Jest conversion Nov 5, 2018
@miq-bot miq-bot added the wip label Nov 5, 2018
@ZitaNemeckova ZitaNemeckova force-pushed the from_jasmine_to_jest branch 2 times, most recently from 8cc51d5 to 7fbb879 Compare November 7, 2018 09:56
Converts fileds_spec and mioq_api_spec from Jasmine to Jest

old_js_file_require_helper - sets function from file(s) to global so they can be accessed in Jest specs, requires files
@miq-bot
Copy link
Member

miq-bot commented Nov 29, 2018

Checked commits ZitaNemeckova/manageiq-ui-classic@068afef~...ebc67bb with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
0 files checked, 0 offenses detected
Everything looks fine. 🏆

@miq-bot
Copy link
Member

miq-bot commented Jan 22, 2019

This pull request is not mergeable. Please rebase and repush.

@miq-bot
Copy link
Member

miq-bot commented Jul 29, 2019

This pull request has been automatically closed because it has not been updated for at least 6 months.

Feel free to reopen this pull request if these changes are still valid.

Thank you for all your contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants