Best JavaScript code snippet using ts-auto-mock
convert-ternary-to-if-else.ts
Source:convert-ternary-to-if-else.ts
...24 createVisitor(selection, (path: t.NodePath<t.ConditionalExpression>) => {25 const { parentPath, node } = path;26 if (t.isReturnStatement(parentPath.node)) {27 parentPath.replaceWith(28 createIfStatement(selection, node, t.returnStatement)29 );30 parentPath.stop();31 return;32 }33 if (t.isAssignmentExpression(parentPath.node)) {34 const { operator, left } = parentPath.node;35 // AssignmentExpression is contained in an ExpressionStatement36 // => replace parentPath's parent path37 const expressionParentPath = parentPath.parentPath;38 if (!expressionParentPath) return;39 expressionParentPath.replaceWith(40 createIfStatement(selection, node, (expression) =>41 createAssignment(operator, left, expression)42 )43 );44 expressionParentPath.stop();45 return;46 }47 if (isAssignedToVariable(path)) {48 const { parentPath } = path;49 const id = parentPath.node.id;50 const otherDeclarations = [51 ...parentPath.getAllNextSiblings(),52 ...parentPath.getAllPrevSiblings()53 ];54 otherVariablesDeclared = otherDeclarations.length > 0;55 // VariableDeclarator is contained in a VariableDeclaration56 // => replace parentPath's parent path57 parentPath.parentPath.replaceWithMultiple([58 createLetDeclaration(id),59 createIfStatement(selection, node, (expression) =>60 createAssignment("=", id, expression)61 )62 ]);63 parentPath.parentPath.stop();64 return;65 }66 parentPath.replaceWith(67 createIfStatement(selection, node, t.expressionStatement)68 );69 parentPath.stop();70 })71 );72 return { ...result, otherVariablesDeclared };73}74export function createVisitor(75 selection: Selection,76 onMatch: (path: t.NodePath<t.ConditionalExpression>) => void77): t.Visitor {78 return {79 ConditionalExpression(path) {80 if (isAssignedToVariable(path)) {81 // Enlarge selection to the whole variable declaration82 if (!selection.isInsidePath(path.parentPath.parentPath)) return;83 } else {84 if (!selection.isInsidePath(path)) return;85 }86 onMatch(path);87 }88 };89}90function isAssignedToVariable(91 path: t.NodePath<t.Node>92): path is t.NodePath & { parentPath: t.NodePath<t.VariableDeclarator> } {93 return (94 t.isVariableDeclarator(path.parent) &&95 t.isVariableDeclaration(path.parentPath?.parent)96 );97}98function createIfStatement(99 selection: Selection,100 node: t.ConditionalExpression,101 createNestedStatement: CreateNestedStatement102): t.IfStatement {103 if (isSelectedConditionalExpression(node.consequent, selection)) {104 return createIfStatement(selection, node.consequent, (expression) =>105 createNestedStatement(106 t.conditionalExpression(node.test, expression, node.alternate)107 )108 );109 }110 if (isSelectedConditionalExpression(node.alternate, selection)) {111 return createIfStatement(selection, node.alternate, (expression) =>112 createNestedStatement(113 t.conditionalExpression(node.test, node.consequent, expression)114 )115 );116 }117 return t.ifStatement(118 node.test,119 t.blockStatement([createNestedStatement(node.consequent)]),120 t.blockStatement([createNestedStatement(node.alternate)])121 );122}123type CreateNestedStatement = (expression: t.Expression) => t.Statement;124function isSelectedConditionalExpression(125 node: t.Node,...
promo.js
Source:promo.js
...22 if (condition instanceof Array) {23 if (conditions.length && conditions[i - 1] instanceof Array) {24 str += operator;25 }26 str += createIfStatement(condition, '( ');27 } else {28 // the condition can be either "AND", "OR" or a boolean29 if (condition === 'ET' || condition === 'OU') {30 // If the preceding conditions element is an array then we must add the operator after the parenthesis31 // (each end of parenthesis corresponds to the end of a condition array) ex: if (true && (false || true) && true)32 if (conditions.length && conditions[i - 1] instanceof Array) {33 afterArray = true;34 }35 operator = condition === 'ET' ? ' && ' : ' || ';36 } else {37 // We put the operator before the condition and after (if the conditions are met)38 if (afterArray) {39 str += operator;40 str += condition;...
ssrVIf.ts
Source:ssrVIf.ts
...25 context: SSRTransformContext,26 disableNestedFragments = false27) {28 const [rootBranch] = node.branches29 const ifStatement = createIfStatement(30 rootBranch.condition!,31 processIfBranch(rootBranch, context, disableNestedFragments)32 )33 context.pushStatement(ifStatement)34 let currentIf = ifStatement35 for (let i = 1; i < node.branches.length; i++) {36 const branch = node.branches[i]37 const branchBlockStatement = processIfBranch(38 branch,39 context,40 disableNestedFragments41 )42 if (branch.condition) {43 // else-if44 currentIf = currentIf.alternate = createIfStatement(45 branch.condition,46 branchBlockStatement47 )48 } else {49 // else50 currentIf.alternate = branchBlockStatement51 }52 }53 if (!currentIf.alternate) {54 currentIf.alternate = createBlockStatement([55 createCallExpression(`_push`, ['`<!---->`'])56 ])57 }58}...
Using AI Code Generation
1import { createIfStatement } from 'ts-auto-mock/extension';2const ifStatement = createIfStatement({3 condition: ts.createTrue(),4 thenStatement: ts.createBlock([]),5 elseStatement: ts.createBlock([]),6});7import { createIfStatement } from 'ts-auto-mock/extension';8const ifStatement = createIfStatement({9 condition: ts.createTrue(),10 thenStatement: ts.createBlock([]),11 elseStatement: ts.createBlock([]),12});13import { createIfStatement } from 'ts-auto-mock/extension';14const ifStatement = createIfStatement({15 condition: ts.createTrue(),16 thenStatement: ts.createBlock([]),17 elseStatement: ts.createBlock([]),18});19import { createIfStatement } from 'ts-auto-mock/extension';20const ifStatement = createIfStatement({21 condition: ts.createTrue(),22 thenStatement: ts.createBlock([]),23 elseStatement: ts.createBlock([]),24});25import { createIfStatement } from 'ts-auto-mock/extension';26const ifStatement = createIfStatement({27 condition: ts.createTrue(),28 thenStatement: ts.createBlock([]),29 elseStatement: ts.createBlock([]),30});31import { createIfStatement } from 'ts-auto-mock/extension';32const ifStatement = createIfStatement({33 condition: ts.createTrue(),34 thenStatement: ts.createBlock([]),35 elseStatement: ts.createBlock([]),36});37import { createIfStatement } from 'ts-auto-mock/extension';38const ifStatement = createIfStatement({39 condition: ts.createTrue(),40 thenStatement: ts.createBlock([]),41 elseStatement: ts.createBlock([]),42});43import { createIfStatement } from '
Using AI Code Generation
1import { createIfStatement } from 'ts-auto-mock';2import { createIfStatement } from 'ts-auto-mock';3const ifStatement = createIfStatement({4 condition: createIdentifier('test'),5 thenStatement: createBlock([6 createExpressionStatement(7 createCall(8 createPropertyAccess(9 createIdentifier('console'),10 createIdentifier('log'),11 [createStringLiteral('test')],12});13import { createIfStatement } from 'ts-auto-mock';14const ifStatement = createIfStatement({15 condition: createIdentifier('test'),16 thenStatement: createBlock([17 createExpressionStatement(18 createCall(19 createPropertyAccess(20 createIdentifier('console'),21 createIdentifier('log'),22 [createStringLiteral('test')],23});24import { createIfStatement } from 'ts-auto-mock';25const ifStatement = createIfStatement({26 condition: createIdentifier('test'),27 thenStatement: createBlock([28 createExpressionStatement(29 createCall(30 createPropertyAccess(31 createIdentifier('console'),32 createIdentifier('log'),33 [createStringLiteral('test')],34});35import { createIfStatement } from 'ts-auto-mock';36const ifStatement = createIfStatement({37 condition: createIdentifier('test'),38 thenStatement: createBlock([39 createExpressionStatement(40 createCall(41 createPropertyAccess(42 createIdentifier('console'),43 createIdentifier('log'),44 [createStringLiteral('test')],45});46import { createIfStatement } from 'ts-auto-mock';47const ifStatement = createIfStatement({48 condition: createIdentifier('test'),49 thenStatement: createBlock([50 createExpressionStatement(51 createCall(52 createPropertyAccess(53 createIdentifier('console'),54 createIdentifier('log'),55 [createStringLiteral('test')],56});
Using AI Code Generation
1import { createIfStatement } from 'ts-auto-mock/extension';2const ifStatement = createIfStatement({3 condition: ts.createTrue(),4 whenTrue: ts.createReturn(ts.createTrue()),5 whenFalse: ts.createReturn(ts.createFalse()),6});7import { createIfStatement } from 'ts-auto-mock/extension';8const ifStatement = createIfStatement({9 condition: ts.createTrue(),10 whenTrue: ts.createReturn(ts.createTrue()),11 whenFalse: ts.createReturn(ts.createFalse()),12});13import { createIfStatement } from 'ts-auto-mock/extension';14const ifStatement = createIfStatement({15 condition: ts.createTrue(),16 whenTrue: ts.createReturn(ts.createTrue()),17 whenFalse: ts.createReturn(ts.createFalse()),18});19import { createIfStatement } from 'ts-auto-mock/extension';20const ifStatement = createIfStatement({21 condition: ts.createTrue(),22 whenTrue: ts.createReturn(ts.createTrue()),23 whenFalse: ts.createReturn(ts.createFalse()),24});25import { createIfStatement } from 'ts-auto-mock/extension';26const ifStatement = createIfStatement({27 condition: ts.createTrue(),28 whenTrue: ts.createReturn(ts.createTrue()),29 whenFalse: ts.createReturn(ts.createFalse()),30});31import { createIfStatement } from 'ts-auto-mock/extension';32const ifStatement = createIfStatement({33 condition: ts.createTrue(),34 whenTrue: ts.createReturn(ts.createTrue()),35 whenFalse: ts.createReturn(ts.createFalse()),36});37import { createIfStatement } from 'ts-auto-mock/extension';38const ifStatement = createIfStatement({39 condition: ts.createTrue(),40 whenTrue: ts.createReturn(ts.createTrue()),41 whenFalse: ts.createReturn(ts.createFalse()),42});
Using AI Code Generation
1import { createIfStatement } from 'ts-auto-mock/extension';2const ifStatement = createIfStatement({3 condition: ts.createTrue(),4 thenStatement: ts.createReturn(ts.createStringLiteral('then')),5 elseStatement: ts.createReturn(ts.createStringLiteral('else'))6});7if(true){8 return 'then';9}else{10 return 'else';11}12import { createIfStatement } from 'ts-auto-mock/extension';13const ifStatement = createIfStatement({14 condition: ts.createTrue(),15 thenStatement: ts.createReturn(ts.createStringLiteral('then'))16});17if(true){18 return 'then';19}20import { createIfStatement } from 'ts-auto-mock/extension';21const ifStatement = createIfStatement({22 condition: ts.createTrue(),23 elseStatement: ts.createReturn(ts.createStringLiteral('else'))24});25if(true){26}else{27 return 'else';28}29import { createIfStatement } from 'ts-auto-mock/extension';30const ifStatement = createIfStatement({31 condition: ts.createTrue(),32});33if(true){34}35import { createIfStatement } from 'ts-auto-mock/extension';36const ifStatement = createIfStatement();37if(){38}39import { createIfStatement } from 'ts-auto-mock/extension';40const ifStatement = createIfStatement({});41if(){42}43import { createIfStatement } from 'ts-auto-mock/extension';44const ifStatement = createIfStatement({45 condition: ts.createTrue(),46 thenStatement: ts.createReturn(ts.createStringLiteral('then')),47 elseStatement: ts.createReturn(ts.createStringLiteral('else')),48 {49 condition: ts.createFalse(),50 thenStatement: ts.createReturn(ts
Using AI Code Generation
1import { createIfStatement } from 'ts-auto-mock/extension';2const ifStatement = createIfStatement({3 thenStatement: 'return 1;',4 elseStatement: 'return 2;',5});6import { createIfStatement } from 'ts-auto-mock/extension';7const ifStatement = createIfStatement({8 thenStatement: 'return 1;',9 elseStatement: 'return 2;',10});11I think this is a problem with the import statement. How can I solve this problem?12I think this is a problem with the import statement. How can I solve this problem?
Using AI Code Generation
1import { createIfStatement } from 'ts-auto-mock/extension';2import { createSourceFile } from 'ts-morph';3const sourceFile = createSourceFile('test.ts', 'const a = 1;');4const ifStatement = createIfStatement(sourceFile, 'true', 'const b = 1;', 'const c = 1;');5sourceFile.addStatements(ifStatement);6console.log(sourceFile.getFullText());7import { createIfStatement } from 'ts-auto-mock/extension';8import { createSourceFile } from 'ts-morph';9const sourceFile = createSourceFile('test.ts', 'const a = 1;');10const ifStatement = createIfStatement(sourceFile, 'true', 'const b = 1;');11sourceFile.addStatements(ifStatement);12console.log(sourceFile.getFullText());13import { createIfStatement } from 'ts-auto-mock/extension';14import { createSourceFile } from 'ts-morph';15const sourceFile = createSourceFile('test.ts', 'const a = 1;');16const ifStatement = createIfStatement(sourceFile, 'true', undefined, 'const c = 1;');17sourceFile.addStatements(ifStatement);18console.log(sourceFile.getFullText());19import { createIfStatement } from 'ts-auto-mock/extension';20import { createSourceFile } from 'ts-morph';21const sourceFile = createSourceFile('test.ts', 'const a = 1;');22const ifStatement = createIfStatement(sourceFile, 'true');23sourceFile.addStatements(ifStatement);24console.log(sourceFile.getFullText());
Using AI Code Generation
1import { createIfStatement } from 'ts-auto-mock/extension';2const ifStatement = createIfStatement('true', 'console.log("hello")');3import { createIfStatement } from 'ts-auto-mock/extension';4const ifStatement = createIfStatement('true', 'console.log("hello")');5import { createIfStatement } from 'ts-auto-mock/extension';6const ifStatement = createIfStatement('true', 'console.log("hello")');7import { createIfStatement } from 'ts-auto-mock/extension';8const ifStatement = createIfStatement('true', 'console.log("hello")');9import { createIfStatement } from 'ts-auto-mock/extension';10const ifStatement = createIfStatement('true', 'console.log("hello")');11import { createIfStatement } from 'ts-auto-mock/extension';12const ifStatement = createIfStatement('true', 'console.log("hello")');13import { createIfStatement } from 'ts-auto-mock/extension';14const ifStatement = createIfStatement('true', 'console.log("hello")');15import { createIfStatement } from 'ts-auto-mock/extension';16const ifStatement = createIfStatement('true', 'console.log("hello")');17import { createIfStatement } from 'ts-auto-mock/extension';18const ifStatement = createIfStatement('true', 'console.log("hello")');19import { createIfStatement } from 'ts-auto-mock/extension';
Using AI Code Generation
1import { createIfStatement } from 'ts-auto-mock/extension';2const ifStatement = createIfStatement({3 condition: createIdentifier('test'),4 thenStatement: createReturnStatement(createIdentifier('test')),5});6import { createIfStatement } from 'ts-auto-mock/extension';7const ifStatement = createIfStatement({8 condition: createIdentifier('test'),9 thenStatement: createReturnStatement(createIdentifier('test')),10});11import { createIfStatement } from 'ts-auto-mock/extension';12const ifStatement = createIfStatement({13 condition: createIdentifier('test'),14 thenStatement: createReturnStatement(createIdentifier('test')),15});16import { createIfStatement } from 'ts-auto-mock/extension';17const ifStatement = createIfStatement({18 condition: createIdentifier('test'),19 thenStatement: createReturnStatement(createIdentifier('test')),20});21import { createIfStatement } from 'ts-auto-mock/extension';22const ifStatement = createIfStatement({23 condition: createIdentifier('test'),24 thenStatement: createReturnStatement(createIdentifier('test')),25});26import { createIfStatement } from 'ts-auto-mock/extension';27const ifStatement = createIfStatement({28 condition: createIdentifier('test'),29 thenStatement: createReturnStatement(createIdentifier('test')),30});31import { createIfStatement } from 'ts-auto-mock/extension';32const ifStatement = createIfStatement({33 condition: createIdentifier('test'),34 thenStatement: createReturnStatement(createIdentifier('test')),35});36import { createIfStatement } from 'ts-auto-mock/extension';37const ifStatement = createIfStatement({38 condition: createIdentifier('test'),39 thenStatement: createReturnStatement(createIdentifier('test')),
Using AI Code Generation
1import { createIfStatement } from 'ts-auto-mock';2const ifStatement = createIfStatement();3console.log(ifStatement);4import { createIfStatement } from 'ts-auto-mock';5const ifStatement = createIfStatement();6console.log(ifStatement);7import { createIfStatement } from 'ts-auto-mock';8const ifStatement = createIfStatement();9console.log(ifStatement);10import { createIfStatement } from 'ts-auto-mock';11const ifStatement = createIfStatement();12console.log(ifStatement);13import { createIfStatement } from 'ts-auto-mock';14const ifStatement = createIfStatement();15console.log(ifStatement);16import { createIfStatement } from 'ts-auto-mock';17const ifStatement = createIfStatement();18console.log(ifStatement);19import { createIfStatement } from 'ts-auto-mock';20const ifStatement = createIfStatement();21console.log(ifStatement);22import { createIfStatement } from 'ts-auto-mock';23const ifStatement = createIfStatement();24console.log(ifStatement);25import { createIfStatement } from 'ts-auto-mock';26const ifStatement = createIfStatement();27console.log(ifStatement);28import { createIfStatement } from 'ts-auto-mock';29const ifStatement = createIfStatement();30console.log(ifStatement
Using AI Code Generation
1import { createIfStatement } from 'ts-auto-mock/extension';2const result = createIfStatement({ condition: 'true' });3console.log(result);4import { createIfStatement } from 'ts-auto-mock/extension';5const result = createIfStatement({ condition: 'true', body: 'return 1;' });6console.log(result);7import { createIfStatement } from 'ts-auto-mock/extension';8const result = createIfStatement({9 body: 'return 1;',10 elseBody: 'return 2;',11});12console.log(result);13import { createIfStatement } from 'ts-auto-mock/extension';14const result = createIfStatement({15 body: 'return 1;',16 elseBody: 'return 2;',17 {18 body: 'return 3;',19 },20});21console.log(result);22import { createIfStatement } from 'ts-auto-mock/extension';23const result = createIfStatement({24 body: 'return 1;',25 elseBody: 'return 2;',26 {27 body: 'return 3;',28 },29 {30 body: 'return 4;',31 },32});33console.log(result);34import { createIfStatement } from 'ts-auto-mock/extension';35const ifStatement = createIfStatement({36 condition: createIdentifier('test'),37 thenStatement: createReturnStatement(createIdentifier('test')),38});39import { createIfStatement } from 'ts-auto-mock/extension';40const ifStatement = createIfStatement({41 condition: createIdentifier('test'),42 thenStatement: createReturnStatement(createIdentifier('test')),43});44import { createIfStatement } from 'ts-auto-mock/extension';45const ifStatement = createIfStatement({46 condition: createIdentifier('test'),47 thenStatement: createReturnStatement(createIdentifier('test')),48});49import { createIfStatement } from 'ts-auto-mock/extension';50const ifStatement = createIfStatement({51 condition: createIdentifier('test'),52 thenStatement: createReturnStatement(createIdentifier('test')),53});54import { createIfStatement } from 'ts-auto-mock/extension';55const ifStatement = createIfStatement({56 condition: createIdentifier('test'),57 thenStatement: createReturnStatement(createIdentifier('test')),58});59import { createIfStatement } from 'ts-auto-mock/extension';60const ifStatement = createIfStatement({61 condition: createIdentifier('test'),62 thenStatement: createReturnStatement(createIdentifier('test')),63});64import { createIfStatement } from 'ts-auto-mock/extension';65const ifStatement = createIfStatement({66 condition: createIdentifier('test'),67 thenStatement: createReturnStatement(createIdentifier('test')),
Using AI Code Generation
1import { createIfStatement } from 'ts-auto-mock';2const ifStatement = createIfStatement();3console.log(ifStatement);4import { createIfStatement } from 'ts-auto-mock';5const ifStatement = createIfStatement();6console.log(ifStatement);7import { createIfStatement } from 'ts-auto-mock';8const ifStatement = createIfStatement();9console.log(ifStatement);10import { createIfStatement } from 'ts-auto-mock';11const ifStatement = createIfStatement();12console.log(ifStatement);13import { createIfStatement } from 'ts-auto-mock';14const ifStatement = createIfStatement();15console.log(ifStatement);16import { createIfStatement } from 'ts-auto-mock';17const ifStatement = createIfStatement();18console.log(ifStatement);19import { createIfStatement } from 'ts-auto-mock';20const ifStatement = createIfStatement();21console.log(ifStatement);22import { createIfStatement } from 'ts-auto-mock';23const ifStatement = createIfStatement();24console.log(ifStatement);25import { createIfStatement } from 'ts-auto-mock';26const ifStatement = createIfStatement();27console.log(ifStatement);28import { createIfStatement } from 'ts-auto-mock';29const ifStatement = createIfStatement();30console.log(ifStatement
Using AI Code Generation
1import { createIfStatement } from 'ts-auto-mock/extension';2const result = createIfStatement({ condition: 'true' });3console.log(result);4import { createIfStatement } from 'ts-auto-mock/extension';5const result = createIfStatement({ condition: 'true', body: 'return 1;' });6console.log(result);7import { createIfStatement } from 'ts-auto-mock/extension';8const result = createIfStatement({9 body: 'return 1;',10 elseBody: 'return 2;',11});12console.log(result);13import { createIfStatement } from 'ts-auto-mock/extension';14const result = createIfStatement({15 body: 'return 1;',16 elseBody: 'return 2;',17 {18 body: 'return 3;',19 },20});21console.log(result);22import { createIfStatement } from 'ts-auto-mock/extension';23const result = createIfStatement({24 body: 'return 1;',25 elseBody: 'return 2;',26 {27 body: 'return 3;',28 },29 {30 body: 'return 4;',31 },32});33console.log(result);
Using AI Code Generation
1import { createIfStatement } from 'ts-auto-mock';2const ifStatement = createIfStatement();3console.log(ifStatement);4import { createIfStatement } from 'ts-auto-mock';5const ifStatement = createIfStatement();6console.log(ifStatement);7import { createIfStatement } from 'ts-auto-mock';8const ifStatement = createIfStatement();9console.log(ifStatement);10import { createIfStatement } from 'ts-auto-mock';11const ifStatement = createIfStatement();12console.log(ifStatement);13import { createIfStatement } from 'ts-auto-mock';14const ifStatement = createIfStatement();15console.log(ifStatement);16import { createIfStatement } from 'ts-auto-mock';17const ifStatement = createIfStatement();18console.log(ifStatement);19import { createIfStatement } from 'ts-auto-mock';20const ifStatement = createIfStatement();21console.log(ifStatement);22import { createIfStatement } from 'ts-auto-mock';23const ifStatement = createIfStatement();24console.log(ifStatement);25import { createIfStatement } from 'ts-auto-mock';26const ifStatement = createIfStatement();27console.log(ifStatement);28import { createIfStatement } from 'ts-auto-mock';29const ifStatement = createIfStatement();30console.log(ifStatement
Using AI Code Generation
1import { createIfStatement } from 'ts-auto-mock/extension';2const result = createIfStatement({ condition: 'true' });3console.log(result);4import { createIfStatement } from 'ts-auto-mock/extension';5const result = createIfStatement({ condition: 'true', body: 'return 1;' });6console.log(result);7import { createIfStatement } from 'ts-auto-mock/extension';8const result = createIfStatement({9 body: 'return 1;',10 elseBody: 'return 2;',11});12console.log(result);13import { createIfStatement } from 'ts-auto-mock/extension';14const result = createIfStatement({15 body: 'return 1;',16 elseBody: 'return 2;',17 {18 body: 'return 3;',19 },20});21console.log(result);22import { createIfStatement } from 'ts-auto-mock/extension';23const result = createIfStatement({24 body: 'return 1;',25 elseBody: 'return 2;',26 {27 body: 'return 3;',28 },29 {30 body: 'return 4;',31 },32});33console.log(result);
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!