New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mocha-remote-common

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mocha-remote-common - npm Package Compare versions

Comparing version 1.1.1 to 1.4.0

2

dist/client/index.d.ts

@@ -6,2 +6,4 @@ export declare type CustomContext = Record<string, unknown>;

context?: CustomContext;
timeout?: number;
slow?: number;
};

@@ -8,0 +10,0 @@ export declare type ErrorMessage = {

4

package.json
{
"name": "mocha-remote-common",
"version": "1.1.1",
"version": "1.4.0",
"description": "All common code and types shared between the Mocha Remote server and client",

@@ -39,3 +39,3 @@ "scripts": {

},
"gitHead": "221a798ad1ac757e617113dd9935c5b2d67f2190"
"gitHead": "2f22cb48573baa3b54366a9df3fe7a335c4c2c6e"
}

@@ -81,2 +81,6 @@ <p align="center">

be closed [default: "default"]
-g, --grep Only run tests matching this string
or regexp [string]
-i, --invert Inverts --grep matches
[boolean] [default: false]
-w, --watch Keep the server running after a test

@@ -86,7 +90,12 @@ has ended [boolean] [default: false]

starting a run (<k=v,[k1=v1,..]>)
[array]
[array] [default: []]
-R, --reporter Specify reporter to use
[default: "spec"]
-O, --reporter-option, Reporter-specific options
--reporter-options (<k=v,[k1=v1,..]>) [array]
--reporter-options (<k=v,[k1=v1,..]>)
[array] [default: []]
-s, --silent Print less to stdout
[boolean] [default: false]
-e, --exit-on-error Exit immediately if an error occurs
[boolean] [default: false]
-v, --version Show version number & exit [boolean]

@@ -183,2 +192,6 @@ -h, --help Show help [boolean]

### Exit on error
If an error occurs client-side, while loading tests, you might want to ensure your CI job fails instead of simply reporting "0 passing". To get this behavior, run with `--exit-on-error` (or `MOCHA_REMOTE_EXIT_ON_ERROR=true`).
## Alternatively: Installing the server (for a programatic API)

@@ -185,0 +198,0 @@

@@ -6,3 +6,5 @@ export type CustomContext = Record<string, unknown>;

invert?: boolean;
context?: CustomContext
context?: CustomContext;
timeout?: number;
slow?: number;
};

@@ -9,0 +11,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