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

build: switch from ts-jest to esbuild #11

Merged
merged 1 commit into from
Dec 27, 2021
Merged

build: switch from ts-jest to esbuild #11

merged 1 commit into from
Dec 27, 2021

Conversation

aladdin-add
Copy link
Contributor

@aladdin-add aladdin-add commented Dec 24, 2021

esbuild does not support automatic jsx/runtime, so the import React from 'react' is still needed.

refs: evanw/esbuild#334

@codecov
Copy link

codecov bot commented Dec 24, 2021

Codecov Report

Merging #11 (15cbf71) into main (e0716a0) will increase coverage by 11.81%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##             main      #11       +/-   ##
===========================================
+ Coverage   20.00%   31.81%   +11.81%     
===========================================
  Files           3        3               
  Lines          20       88       +68     
  Branches        1       11       +10     
===========================================
+ Hits            4       28       +24     
- Misses         16       57       +41     
- Partials        0        3        +3     
Flag Coverage Δ
unittest 31.81% <100.00%> (+11.81%) ⬆️

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

Impacted Files Coverage Δ
src/App.tsx 90.32% <100.00%> (-9.68%) ⬇️
src/index.tsx 0.00% <0.00%> (ø)
src/reportWebVitals.ts 0.00% <0.00%> (ø)

esbuild does not support automatic jsx/runtime,
so the `import React from 'react'` is still needed.

refs: evanw/esbuild#334
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.

None yet

1 participant