We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2815fa5 commit a3a35d5Copy full SHA for a3a35d5
src/discoverer/evaluate.ts
@@ -78,7 +78,7 @@ export class EvaluationTestDiscoverer implements ITestDiscoverer {
78
directive?: string,
79
) {
80
const fn = (name: string, callback: () => void) => {
81
- if (typeof name !== 'string' || typeof callback !== 'function') {
+ if (typeof name !== 'string') {
82
return placeholder();
83
}
84
src/discoverer/syntax.ts
@@ -104,7 +104,7 @@ export class SyntaxTestDiscoverer implements ITestDiscoverer {
104
105
traverse(ast, {
106
enter(node) {
107
- if (node.type !== C.CallExpression || node.arguments.length < 2) {
+ if (node.type !== C.CallExpression) {
108
return;
109
110
0 commit comments