error-affirmations

1.2.7 • Public • Published

img8 Error Affirmations - Jest Reporter img8


Our Jest Reporter gives you much needed code-related affirmations whenever your tests fail.

GitHub - https://github.com/VSCode-Empaths/VSCode-Affirmations-Jest-Reporter


Preview

default_border_color


Customize with Color and Border Themes!!!

custom_border_color


Installation

You may install this package as a development dependency:

npm i --save-dev error-affirmations

Configuration

Configure Jest to use the reporter:

For example, add the following "jest" configuration in your package.json file: (make sure to include the "default" reporter to preserve jest's default output)

 "jest": {
     "reporters":
        [
            "default",
            "error-affirmations"
        ]
    },

(Optionally) Customize the color and border theme

 "jest": {
     "reporters": [
         "default",
            ["error-affirmations", {
                "colorTheme": "driven",
                "borderTheme": "waves"
            }]
        ]
    },

Theme Options:

A list of the available colors and borders can also be displayed in the reporter options by adding "mode": "info", in the reporter options.

    "mode": "info",

Imgur


Keep it Simple!:

We also provide an option for you minimalists out there! With "mode": "minimal", you get to enjoy the same great affirmations but without the border decorations.

    "mode": "minimal",

Check out our other apps!

Error Affirmations - VS Code Extension:

https://marketplace.visualstudio.com/items?itemName=VSCodeEmpaths.erroraffirmations

VSCode Extension

Error Affirmations - Website:

https://error-affirmations.netlify.app/


Meet the team

Package Sidebar

Install

npm i error-affirmations

Weekly Downloads

22

Version

1.2.7

License

ISC

Unpacked Size

168 kB

Total Files

24

Last publish

Collaborators

  • karl_wernsman
  • rioredwards1