1.0.14 • Published 1 year ago

jest-discord-bridge v1.0.14

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Install

npm install --save-dev jest-discord-bridge
# or
yarn add -D jest-discord-bridge

Usage

You must configure the jest config. Do not forget webhook from your discord channel.

module.exports = {
    ...
    reporters: [
    'default',
    ['jest-discord-reporter', {
      userName: 'Jest Reporter', //optional, default is 'Jest Reporter'
      avatarUrl: 'https://jestjs.io/pt-BR/img/opengraph.png', // optional, default is jest logo
      webhook: 'https://discordapp.com/api/webhooks/YOUR-WEBHOOK-KEY', //required
      timeZone: 'America/New_York', //optional, default is 'America/New_York'; timeZone list: https://gist.github.com/diogocapela/12c6617fc87607d11fd62d2a4f42b02a, 
      reportIfSuccess: true, // optional, default is false;
    }],
  ],
    ...
}

Result

Result image

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago