Skip to content

Add support for Vitest in addition to jest #343

Description

@jasikpark

https://vitest.dev/ is a popular testing framework among those who use https://vite.dev and vite derived build tools like https://astro.build, it'd be great to see integration here for that testing ecosystem as well!

Prior art might be seen in dubzzz/fast-check#3217

Activity

  1. bertschneider commented on Feb 24, 2023

    @bertschneider
    Contributor

    Thanks for the suggestion and linked code example. The integration into fast-check looks quite simple.

    Added to the ever growing list of good possible additions 👍 In the meantime, feel free to give it a try yourself, we would love some contributions to the project.

  2. jasikpark commented on Feb 24, 2023

    @jasikpark
    Author

    I'm excited to try it out! Would probably end up updating https://github.com/jasikpark/fuzz-prettier or adding a JS based fuzzer to withastro/compiler in addition to my golang attempts..

  3. jasikpark commented on Oct 11, 2023

    @jasikpark
    Author

    Just updated to use the jest integration in https://github.com/jasikpark/fuzz-prettier, it's so nice! Excited to update to jazzer.js 2.0.0 to get the tighter TypeScript integration 👍

  4. jasikpark commented on Oct 12, 2023

    @jasikpark
    Author

    How do I need to update my jest config to remove ts-jest? I thought the release notes had mentioned that..

  5. br-lewis commented on Oct 12, 2023

    @br-lewis
    Contributor

    You should just need to remove it. babel-jest is the default and can handle Typescript but won't do type checking. #635 should mean that ts-jest will work properly again though and should be merged soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions