find-test-names
Advanced tools
Comparing version 1.22.0 to 1.22.1
{ | ||
"name": "find-test-names", | ||
"version": "1.22.0", | ||
"version": "1.22.1", | ||
"description": "Given a Mocha / Cypress spec file, returns the list of suite and test names", | ||
@@ -50,3 +50,3 @@ "main": "src", | ||
"husky": "7.0.4", | ||
"prettier": "2.7.1", | ||
"prettier": "2.8.1", | ||
"semantic-release": "18.0.1", | ||
@@ -53,0 +53,0 @@ "stop-only": "3.1.2" |
@@ -533,3 +533,3 @@ const babel = require('@babel/parser') | ||
if (ancestors.length > 1) { | ||
const a = ancestors.at(-2) | ||
const a = ancestors[ancestors.length - 2] | ||
if (a.leadingComments && a.leadingComments.length) { | ||
@@ -536,0 +536,0 @@ // grab the last comment line |
32666