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

✨ Add built-in unmapper support onto object arbitraries #2089

Merged
merged 1 commit into from
Jul 9, 2021
Merged

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Jul 8, 2021

Partial support requires float and double to be compatible
Full support requires sparse arrays and typed arrays to be compatible

Category:

  • ✨ Introduce new features
  • 📝 Add or update documentation
  • ✅ Add or update tests
  • 🐛 Fix a bug
  • 🏷️ Add or update types
  • ⚡️ Improve performance
  • Other(s): ...

Potential impacts:

  • Generated values
  • Shrink values
  • Performance
  • Typings
  • Other(s): ...

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 8, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 6d997fb:

Sandbox Source
Vanilla Configuration
fast-check-examples Configuration

@codecov
Copy link

codecov bot commented Jul 8, 2021

Codecov Report

Merging #2089 (6d997fb) into main (dbf7d08) will decrease coverage by 0.03%.
The diff coverage is 95.52%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2089      +/-   ##
==========================================
- Coverage   96.48%   96.45%   -0.04%     
==========================================
  Files         187      191       +4     
  Lines        4443     4483      +40     
  Branches      875      884       +9     
==========================================
+ Hits         4287     4324      +37     
- Misses        152      155       +3     
  Partials        4        4              
Flag Coverage Δ
unit-tests 96.45% <95.52%> (-0.04%) ⬇️
unit-tests-12.x-Linux 96.45% <95.52%> (-0.04%) ⬇️
unit-tests-14.x-Linux 96.45% <95.52%> (-0.04%) ⬇️
unit-tests-16.x-Linux 96.45% <95.52%> (-0.04%) ⬇️

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

Impacted Files Coverage Δ
src/arbitrary/_internals/mappers/ArrayToMap.ts 87.50% <87.50%> (ø)
src/arbitrary/_internals/mappers/ArrayToSet.ts 87.50% <87.50%> (ø)
...itrary/_internals/mappers/ObjectToPrototypeLess.ts 87.50% <87.50%> (ø)
...bitrary/_internals/builders/AnyArbitraryBuilder.ts 100.00% <100.00%> (ø)
...trary/_internals/builders/BoxedArbitraryBuilder.ts 100.00% <100.00%> (ø)
src/arbitrary/_internals/mappers/UnboxedToBoxed.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dbf7d08...6d997fb. Read the comment docs.

@dubzzz dubzzz merged commit 90a1f83 into main Jul 9, 2021
@dubzzz dubzzz deleted the unmapper-obj branch July 9, 2021 06:23
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