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

ospec

Package Overview
Dependencies
Maintainers
7
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ospec - npm Package Compare versions

Comparing version 4.1.6 to 4.1.7

4

ospec.js

@@ -268,3 +268,3 @@ "use strict"

var errCount = o.report(results, stats)
if (hasProcess && errCount !== 0) process.exit(1) // eslint-disable-line no-process-exit
if (hasProcess) process.exit(errCount !== 0 ? 1 : undefined) // eslint-disable-line no-process-exit
}

@@ -492,3 +492,3 @@ }, null, null)

}
results[self.i].message = message + "\n\n" + results[self.i].message
results[self.i].message = message + "\n\n" + results[self.i].message
}

@@ -495,0 +495,0 @@ }

{
"name": "ospec",
"version": "4.1.6",
"version": "4.1.7",
"description": "Noiseless testing framework",

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

@@ -668,3 +668,3 @@ # ospec

- A **test** is the function passed to `o("description", function test() {})`.
- A **hook** is a function passed to `o.before()`, `o.after()`. `o.beforeEach()` and `o.afterEach()`
- A **hook** is a function passed to `o.before()`, `o.after()`. `o.beforeEach()` and `o.afterEach()`.
- A **task** designates either a test or a hook.

@@ -702,3 +702,3 @@ - A given test and its associated `beforeEach` and `afterEach` hooks form a **streak**. The `beforeEach` hooks run outermost first, the `afterEach` run outermost last. The hooks are optional, and are tied at test-definition time in the `o.spec()` calls that enclose the test.

- At test-definition time:
- An error thrown at the root of a file will cause subsequent tests and specs to be ignored
- An error thrown at the root of a file will cause subsequent tests and specs to be ignored.
- An error thrown in a spec definition will cause the spec to be ignored.

@@ -705,0 +705,0 @@ - At test-execution time:

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