diff --git a/test/lib/detectors/transpilers/amd/parseModuleDeclaration.ts b/test/lib/detectors/transpilers/amd/parseModuleDeclaration.ts index f32d2e482..530940c07 100644 --- a/test/lib/detectors/transpilers/amd/parseModuleDeclaration.ts +++ b/test/lib/detectors/transpilers/amd/parseModuleDeclaration.ts @@ -192,14 +192,14 @@ function declToString(decl: ModuleDeclaration): string { test("All combinations", (t) => { const permutations = generateArguments({ - moduleName: [SyntaxKind.StringLiteral, null], - dependencies: [SyntaxKind.ArrayLiteralExpression, null], + moduleName: [SyntaxKind.StringLiteral, null], // null means to omit the argument + dependencies: [SyntaxKind.ArrayLiteralExpression, null], // null means to omit the argument factory: [ SyntaxKind.FunctionExpression, SyntaxKind.ArrowFunction, SyntaxKind.StringLiteral, SyntaxKind.ArrayLiteralExpression, SyntaxKind.TrueKeyword, SyntaxKind.FalseKeyword, ], - export: [SyntaxKind.TrueKeyword, SyntaxKind.FalseKeyword, null], + export: [SyntaxKind.TrueKeyword, SyntaxKind.FalseKeyword, null], // null means to omit the argument }); t.true(permutations.length > 0, `Generated ${permutations.length} permutations`);