dubzzz / fast-check

Property based testing framework for JavaScript (like QuickCheck) written in TypeScript
https://fast-check.dev/
MIT License
4.28k stars 178 forks source link

🔧 Toggle on `isolatedDeclarations` flag on the project #5136

Open dubzzz opened 1 month ago

dubzzz commented 1 month ago

Description

Fixes #5057

ChecklistDon't delete this checklist and make sure you do the following before opening the PR

Advanced

dubzzz commented 1 month ago

Probably have to wait for https://github.com/microsoft/TypeScript/pull/58771 and/or https://github.com/microsoft/TypeScript/pull/58829, as discussed in https://x.com/ndubien/status/1813361689238335668?t=o2hcjF9X67AcJuSXIJ-VYA&s=19

codesandbox-ci[bot] commented 1 month ago

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 e3e3cb251282735a163126302f26a9e9ff0763e7:

Sandbox Source
@fast-check/examples Configuration
codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.73%. Comparing base (49746db) to head (e3e3cb2).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #5136 +/- ## ======================================= Coverage 94.73% 94.73% ======================================= Files 231 231 Lines 9320 9320 Branches 2732 2730 -2 ======================================= Hits 8829 8829 Misses 491 491 ``` | [Flag](https://app.codecov.io/gh/dubzzz/fast-check/pull/5136/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Nicolas+DUBIEN) | Coverage Δ | | |---|---|---| | [unit-tests](https://app.codecov.io/gh/dubzzz/fast-check/pull/5136/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Nicolas+DUBIEN) | `94.73% <ø> (ø)` | | | [unit-tests-18.x-Linux](https://app.codecov.io/gh/dubzzz/fast-check/pull/5136/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Nicolas+DUBIEN) | `94.73% <ø> (ø)` | | | [unit-tests-20.x-Linux](https://app.codecov.io/gh/dubzzz/fast-check/pull/5136/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Nicolas+DUBIEN) | `94.73% <ø> (ø)` | | | [unit-tests-22.x-Linux](https://app.codecov.io/gh/dubzzz/fast-check/pull/5136/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Nicolas+DUBIEN) | `94.73% <ø> (ø)` | | | [unit-tests-latest-Linux](https://app.codecov.io/gh/dubzzz/fast-check/pull/5136/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Nicolas+DUBIEN) | `94.73% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Nicolas+DUBIEN#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

dubzzz commented 1 month ago

Current error seems to be throw by https://github.com/microsoft/rushstack/blob/253cb78c839669932bd8e841faacdc70cc26a135/apps/api-extractor/src/api/CompilerState.ts#L84

dubzzz commented 1 month ago

Waiting for https://github.com/microsoft/rushstack/issues/4877