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

test: transpile zone.js products in test #4423

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

legendecas
Copy link
Member

@legendecas legendecas commented Jan 17, 2024

Which problem is this PR solving?

Test with zone.js' default export entry rather than specifying 'zone.js/dist/index'

Short description of the changes

Zone.js' default export entry that is picked by the bundler contains new syntax that needs to be transpiled.

Type of change

  • Test

Checklist:

  • Followed the style guidelines of this project

Copy link

codecov bot commented Jan 17, 2024

Codecov Report

Merging #4423 (83f183a) into main (bf8714e) will decrease coverage by 0.26%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4423      +/-   ##
==========================================
- Coverage   92.19%   91.94%   -0.26%     
==========================================
  Files         336      278      -58     
  Lines        9512     6802    -2710     
  Branches     2016     1390     -626     
==========================================
- Hits         8770     6254    -2516     
+ Misses        742      548     -194     
Files Coverage Δ
...pentelemetry-core/src/platform/node/environment.ts 100.00% <100.00%> (ø)

... and 71 files with indirect coverage changes

@@ -49,6 +49,7 @@
},
"devDependencies": {
"@babel/core": "7.23.6",
"@babel/preset-env": "7.22.20",
Copy link
Member

Choose a reason for hiding this comment

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

Hmm, do we need this here? 🤔
The gRPC exporter only supports Node.js so we never use it right? 🤔 We may also be able to drop @babel/core.

Copy link
Member Author

Choose a reason for hiding this comment

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

Well, yeah, thank you for spotting this. Unnecessary test dependencies removed.

Copy link
Member

@pichlermarc pichlermarc left a comment

Choose a reason for hiding this comment

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

Thanks! 🙂

@pichlermarc pichlermarc merged commit 43e598e into open-telemetry:main Jan 18, 2024
20 checks passed
@legendecas legendecas deleted the test/zone.js branch January 18, 2024 09:46
Zirak pushed a commit to Zirak/opentelemetry-js that referenced this pull request Sep 14, 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