Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mocha-typescript

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mocha-typescript - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

3

bin/watch.js

@@ -63,3 +63,4 @@ #!/usr/bin/env node

}
mocha = spawn("node", [argv.mocha, "--opts", argv.opts, "--colors"]);
var mocha_options = ["--opts", argv.opts, "--colors"].concat(argv._);
mocha = spawn("node", [argv.mocha].concat(mocha_options));
mocha.on("close", code => {

@@ -66,0 +67,0 @@ if (code) {

{
"name": "mocha-typescript",
"version": "1.0.15",
"version": "1.0.16",
"description": "TypeScript decorators based wrapper over mocha's interface",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -18,2 +18,3 @@ TypeScript Decorators Based Interface for Mocha

[Haringat](https://github.com/PanayotCankov/mocha-typescript/pull/6) for the async support in before and after methods.
[godart](https://github.com/PanayotCankov/mocha-typescript/pull/16) for taking the extra step to support non-default test file paths.

@@ -44,6 +45,9 @@ # Test Watcher

The `mocha-typescript-watch` script is designed as a command line tool.
You can provide the arguments in the package.json's script, for example:
You can provide the arguments in the package.json's script.
In case you are not using the default `test.js` file as entrypoint for mocha,
you can list the test suite files as arguments to mocha-typescript-watch and they will be passed to mocha.
For example:
```
"scripts": {
"dev-test-watch": "mocha-typescript-watch -p tsconfig.test.json -o mocha.opts"
"dev-test-watch": "mocha-typescript-watch -p tsconfig.test.json -o mocha.opts dist/test1.js dist/test2.js"
},

@@ -50,0 +54,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc