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

Migrate fixed tests to Jest #35

Merged
merged 3 commits into from
Jun 25, 2024
Merged

Migrate fixed tests to Jest #35

merged 3 commits into from
Jun 25, 2024

Conversation

ataromoku
Copy link
Contributor

@ataromoku ataromoku commented Jun 19, 2024

Fixed broken tests. Powered by Jest®.

Removed:

  • Babelify
  • Browserify
  • Karma
  • PhantomJs
  • Rewire
  • React test utils

Added:

  • Jest
  • Babel
  • @testing-library/react
  • @testing-library/jest-dom

We still need separate tests for LitElement (in an ideal world).

@@ -1,5 +1,5 @@
import { LitElement, html, css } from 'lit';
import * as ResizeCallbackMaker from './ResizeCallbackMaker.js';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

A subtle change that needs to be tested before merging.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seems to be ok, no difference.

@ataromoku ataromoku requested review from a team, GurpinderSandhu, kristian-torres and jstefaniuk-d2l and removed request for a team June 19, 2024 17:31
@ataromoku ataromoku marked this pull request as ready for review June 19, 2024 17:33
@ataromoku
Copy link
Contributor Author

What do you think about adding CI workflow here?

@ataromoku ataromoku changed the title Fix tests and migrate to jest Migrate fixed tests to Jest Jun 19, 2024
@ataromoku ataromoku merged commit 60c8a67 into master Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants