Giter Club home page Giter Club logo

unflakable-javascript's Introduction

Unflakable

Official Unflakable Plugins for JavaScript

This repository contains the official Unflakable plugins for JavaScript and TypeScript.

Getting Started

Refer to our Getting Started documentation for instructions on getting started using Unflakable.

Cypress Plugin

This Unflakable plugin enables users of the Cypress JavaScript test framework to quarantine flaky tests and track test results.

Refer to the Cypress Plugin documentation for complete usage instructions.

Compatibility

This plugin maintains compatibility with the Cypress and Node.js versions listed below:

11.2.0+ | 12.0.0+ | 13.0.0+ 16 | 18 | 20

Jest Plugin

The Jest plugin enables users of the Jest JavaScript test framework to quarantine flaky tests and track test results.

Refer to the Jest Plugin documentation for complete usage instructions.

Compatibility

This plugin maintains compatibility with the Jest and Node.js versions listed below:

25.1.0+ | 26.0.0+ | 27.0.0+ | 28.0.0+ | 29.0.0+ 16 | 18 | 20

Contributing

To report a bug or request a new feature, please file a GitHub issue. We also welcome pull requests!

unflakable-javascript's People

Contributors

dependabot[bot] avatar ramosbugs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

unflakable-javascript's Issues

jest plugin: runner and reporter are not exported correctly

Instructions say to run jest with the following flags:

--reporters @unflakable/jest-plugin/dist/reporter
--runner @unflakable/jest-plugin/dist/runner

At least as of Jest 29/Node 18 combination, this fails with:

Error: Could not resolve a module for a custom reporter.
  Module name: @unflakable/jest-plugin/dist/reporter

and:

Jest Runner @unflakable/jest-plugin/dist/runner cannot be found. Make sure the runner configuration option points to an existing node module.

At first it might seem that the plugin is not installed, however, it is there. Attempt to call require.resolve manually resolve the module produces more helpful message:

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './dist/runner' is not defined by "exports" in ./prisma/packages/client/node_modules/@unflakable/jest-plugin/package.json

So, the problem actual problem is: plugin is published as ESM, but export section does not exports runner and reporter submodules.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.