Skip to content

Conversation

nicknovitski
Copy link
Member

For some reason this upgrade causes the coverage report to drop with the default coverage collector "babel", so I switched it to "v8" instead.

Replaces #192 and #189

@nicknovitski nicknovitski requested a review from a team as a code owner June 27, 2025 16:37
@nicknovitski nicknovitski requested review from douglowder and removed request for a team June 27, 2025 16:37
Copy link

codecov bot commented Jun 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (ac82bf6) to head (dd518f0).

Additional details and impacted files
@@            Coverage Diff             @@
##              main      #195    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files            2         2            
  Lines          168       467   +299     
  Branches        33        62    +29     
==========================================
+ Hits           168       467   +299     
Flag Coverage Δ
node_18 ?
node_20 100.00% <ø> (ø)
node_22 100.00% <ø> (ø)
node_24 100.00% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nicknovitski nicknovitski marked this pull request as draft June 27, 2025 17:44
@nicknovitski nicknovitski removed the request for review from douglowder June 27, 2025 17:44
Before this commit, and since ab8bc71, this command would fail:
```
error TS6059: File '<>/expo-server-sdk-node/eslint.config.ts' is not under 'rootDir' '<>/expo-server-sdk-node/src'. 'rootDir' is expected to contain all source files.
  The file is in the program because:
    Matched by default include pattern '**/*'
```

We want `tsconfig.json` to include `eslint.config.ts`, so that we detect type
errors in it.  However, we don't want `tsconfig.build.json` to include
it, so that `tsc` doesn't produce build output for it.

To detect this problem in the future, I added a check in the github
tests workflow.
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.

1 participant