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.
karma-proclaim
Advanced tools
Proclaim assertion library for Karma.
Proclaim is a simple assertion library for server and client side JavaScript. It can be used with most test frameworks and is compatible with IE6+. Proclaim is an attempt to achieve the simplicity of Node.js assert with the extra assertions of Chai.
Install the plugin from npm:
$ npm install karma-proclaim --save-dev
Or from Github:
$ npm install 'git+https://github.com/bcbailey/karma-proclaim.git' --save-dev
Add proclaim
to the frameworks
key in your Karma configuration:
module.exports = function(config) {
config.set({
// frameworks to use
frameworks: [ 'mocha', 'proclaim' ]
// ...
});
});
describe('mocha tests with proclaim', function() {
it('should expose proclaim', function() {
proclaim.ok('everything', 'everything is ok');
proclaim.notEqual('foo', 'bar');
proclaim.isTrue(true);
});
});
FAQs
Proclaim assertion library for Karma
The npm package karma-proclaim receives a total of 1 weekly downloads. As such, karma-proclaim popularity was classified as not popular.
We found that karma-proclaim demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.