Skip to content

Commit

Permalink
refactor: Re-add lost comments
Browse files Browse the repository at this point in the history
Autofix seems to have removed them
  • Loading branch information
RandomByte committed Mar 13, 2024
1 parent fe91109 commit d56ec44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/lib/detectors/transpilers/amd/parseModuleDeclaration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
Expand Down

0 comments on commit d56ec44

Please sign in to comment.