
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
@testdeck/mocha
Advanced tools
Mocha tests in OOP style!
import { suite, test } from "@testdeck/mocha";
import { expect } from 'chai';
@suite
class Hello {
@test
world() {
expect(false).to.be.true;
}
}
With support for
and more...
If you are looking for other test framework support, please see the following packages
npm install --save-dev @types/mocha mocha @testdeck/mocha
Additional dependencies need to be installed, unless you use the seed below or follow the instructions in the setup guide for which a link has been provided below.
To get you started, a seed has been provided that can help you with setting up your project.
git clone https://github.com/testdeck/testdeck-mocha-seed.git
You can find a lot more information in the official documentation, especially in the setup guide.
v0.3.3 (2022-12-05)
core
, di-typedi
, jasmine
, jest
, mocha
, vitest
jasmine
, jest
, mocha
, vitest
vitest
core
, di-typedi
, jasmine
, jest
, mocha
, vitest
FAQs
Object oriented testing for the Mocha test framework
The npm package @testdeck/mocha receives a total of 13,234 weekly downloads. As such, @testdeck/mocha popularity was classified as popular.
We found that @testdeck/mocha demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.