find-test-names
Advanced tools
Comparing version 1.15.0 to 1.15.1
{ | ||
"name": "find-test-names", | ||
"version": "1.15.0", | ||
"version": "1.15.1", | ||
"description": "Given a Mocha / Cypress spec file, returns the list of suite and test names", | ||
@@ -5,0 +5,0 @@ "main": "src", |
@@ -55,7 +55,7 @@ const babel = require('@babel/parser') | ||
return node.value | ||
} else if (node.type === 'Identifier') { | ||
} else { | ||
debug('Not sure how to get the test name from this source node') | ||
debug(node) | ||
return undefined | ||
} | ||
throw new Error(`Unsupported node type: ${node.type}`) | ||
} | ||
@@ -62,0 +62,0 @@ |
650
25119