
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@jtex/karma-plugin
Advanced tools
A karmajs plugin that includes all the testing tools created by @jtex.
Install @jtex/karma-plugin into your project:
via npm:
npm i -D @jtex/karma-plugin
via yarn
yarn add -D @jtex/karma-plugin
In you karma.conf.js add @jtex/karma-plugin to your plugins.
// karma.conf.js
module.exports = function(config) {
config.set({
plugin: [
'@jtex/karma-plugin'
]
})
}
jtex-json reporterjtex-json reporter Generates a JSON report of the karma results.
The results are very similar to the internal karma result objects. See below:
{
"summary": {
"success": 6,
"failed": 1,
"skipped": 0,
"error": false,
"disconnected": false,
"exitCode": 1
},
"browsers": [
{
"browser": {
"id": "82275798",
"fullName": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/87.0.4280.88 Safari/537.36",
"name": "HeadlessChrome 87.0.4280 (Linux 0.0.0)",
"state": "DISCONNECTED",
"lastResult": {
"startTime": 1611677505999,
"total": 7,
"success": 6,
"failed": 1,
"skipped": 0,
"totalTime": 60000003,
"netTime": 3,
"error": false,
"disconnected": false
},
"disconnectsCount": 0,
"noActivityTimeout": 30000,
"disconnectDelay": 2000
},
"errors": [],
"results": [
{
"id": "",
"description": "simplest test case",
"suite": [
"Test example"
],
"success": true,
"skipped": false,
"pending": false,
"time": 0,
"log": [],
"assertionErrors": [],
"startTime": 1611677505991,
"endTime": 1611677505992
}
]
}
]
}
{
// ...
reporters: [
'jtex-json',
// ...
],
jtexReporter: {
json: {
outputFile: 'path/to/json-report-file.json'
}
}
}
jtex-html reporterjtex-html reporter generates a HTML report of the karma results.

See also https://npmjs.com/package/@jtex/karma-json2html
{
// ...
reporters: [
'jtex-html',
// ...
],
jtexReporter: {
html: {
outputFile: 'path/to/jtex-html-file.html'
reportTitle: 'jtex html report title',
focusOnFailures: true,
collapsed: true,
logoFile: '/path/to/logo.png',
}
}
}
More features are still under development.
FAQs
jtex karma plugin
We found that @jtex/karma-plugin 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.