Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
jasmine-ts
Advanced tools
A simplification for running jasmine with ts-node.
npm i -D jasmine-ts
In your package.json
file create a test script:
{
"scripts": {
"test": "jasmine-ts \"path/to/specs/**/*.spec.ts\""
}
}
Initialize jasmine
node_modules/.bin/jasmine-ts init
Note: This module enables the configuration support of
reporters. For example, if you want to use the
jasmine-spec-reporter,
which provides a nice output, you can add a reporters array to the jasmine.json
file like this:
{
"reporters": [
{
"name": "jasmine-spec-reporter#SpecReporter",
"options": {
"displayStacktrace": "all"
}
}
]
}
If the reporters are not the default export of the module,
you can reference another export by using the #
separator.
Run the tests
npm test
You still need to install the typings for jasmine to make the typescript-compiler happy about your specs:
TypeScript 2:
npm i -D @types/jasmine
TypeScript 1:
typings i -DG dt~jasmine
Since 0.1.3
ts-node options are passed through to ts-node.
FAQs
Execute jasmine with ts-node
The npm package jasmine-ts receives a total of 15,324 weekly downloads. As such, jasmine-ts popularity was classified as popular.
We found that jasmine-ts 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.