Socket
Socket
Sign inDemoInstall

jest-allure2-adapter

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-allure2-adapter - npm Package Compare versions

Comparing version 0.2.19 to 0.2.20

2

package.json
{
"name": "jest-allure2-adapter",
"version": "0.2.19",
"version": "0.2.20",
"description": "Allure 2 Adapter for jest",

@@ -5,0 +5,0 @@ "main": "./dist/index",

@@ -129,4 +129,6 @@ # Jest-Allure-2 reporting plugin

To use custom jasmine reporter - for example to add smth into allure on spec started you can use custom jasmine reporter.
In this case you do not need to add `jest-allure2-adapter/dist/setup-default` into SetupFilesAfterEnv section.
To use custom jasmine reporter - for example to add smth into allure when spec or suite started you can use custom jasmine reporter.
In this case you do NOT need to add `jest-allure2-adapter/dist/setup-default` into SetupFilesAfterEnv section.
Just call registerAllureReporter with yur custom jasmine reporter.
see example:

@@ -136,5 +138,7 @@

// jest.setup.ts
...
setupFilesAfterEnv: [
'./config/jest-custom-reporter.ts',
],
...
```

@@ -144,2 +148,3 @@

// jest-custom-reporter.ts
import { AllureReporterApi, jasmine_ } from 'jest-allure2-adapter';

@@ -146,0 +151,0 @@ import { relative } from 'path';

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc