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

find-test-names

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

find-test-names - npm Package Compare versions

Comparing version 1.10.0 to 1.10.1

2

package.json
{
"name": "find-test-names",
"version": "1.10.0",
"version": "1.10.1",
"description": "Given a Mocha / Cypress spec file, returns the list of suite and test names",

@@ -5,0 +5,0 @@ "main": "src",

@@ -90,2 +90,3 @@ const babel = require('@babel/parser')

type: 'suite',
pending,
}

@@ -97,2 +98,10 @@

if (!pending) {
// the suite might be pending by the virtue of only having the name
// example: describe("is pending")
if (node.arguments.length === 1) {
suiteInfo.pending = true
}
}
const tags = getTags(source, node)

@@ -106,3 +115,3 @@ if (Array.isArray(tags) && tags.length > 0) {

tags: suiteInfo.tags,
pending,
pending: suiteInfo.pending,
type: 'suite',

@@ -109,0 +118,0 @@ tests: [],

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