Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
allure-jasmine
Advanced tools
Allure integration Jasmine framework
For usage example see test/Setup.ts
jest@<27
)Use your favorite node package manager to install required packages:
npm add -D jest-jasmine2 allure-jasmine allure-js-commons @types/jasmine
Create allure-setup.ts
file:
import { JasmineAllureReporter } from "allure-jasmine";
import { JasmineAllureInterface } from "allure-jasmine/dist/src/JasmineAllureReporter";
const reporter = new JasmineAllureReporter({ resultsDir: "allure-results" });
jasmine.getEnv().addReporter(reporter);
// @ts-expect-error
global.allure = reporter.getInterface();
declare global {
const allure: JasmineAllureInterface;
}
Change your jest.config.js
file:
module.exports = {
preset: "ts-jest",
+ testRunner: "jest-jasmine2",
+ setupFilesAfterEnv: ["./allure-setup.ts"],
};
You can find example setup and usage in this repo
FAQs
Allure Jasmine integration
The npm package allure-jasmine receives a total of 1,263 weekly downloads. As such, allure-jasmine popularity was classified as popular.
We found that allure-jasmine demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.