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

Convert historian test to jest. #559

Merged
merged 1 commit into from
Jul 23, 2019
Merged

Convert historian test to jest. #559

merged 1 commit into from
Jul 23, 2019

Conversation

anmic
Copy link
Contributor

@anmic anmic commented Jul 16, 2019

No description provided.

@vmihailenco
Copy link
Contributor

See jestjs/jest#2071 - you need to polyfil fetch / XHR etc

@anmic anmic force-pushed the fix/test branch 2 times, most recently from c590f5a to 0ba8331 Compare July 19, 2019 13:40
@anmic
Copy link
Contributor Author

anmic commented Jul 19, 2019

Fixed test.

package.json Outdated
@@ -30,6 +30,7 @@
"babel-plugin-transform-define": "^1.3.1",
"chai": "4.2.0",
"imports-loader": "0.8.0",
"isomorphic-fetch": "^2.2.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

remove and use cross-fetch that is already a dependency

@anmic anmic force-pushed the fix/test branch 2 times, most recently from 82d1c34 to b3a81c2 Compare July 23, 2019 12:53
@anmic
Copy link
Contributor Author

anmic commented Jul 23, 2019

Removed 'cross-fetch' package.

@vmihailenco vmihailenco merged commit a5af9af into master Jul 23, 2019
@vmihailenco vmihailenco deleted the fix/test branch July 23, 2019 13:19
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