automutate
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "automutate", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Generic framework to fix linting errors in code.", | ||
@@ -5,0 +5,0 @@ "index": "lib/index.js", |
@@ -36,12 +36,12 @@ "use strict"; | ||
const caseNames = fs.readdirSync(casesPath); | ||
for (const caseName of caseNames) { | ||
describe(caseName, () => { | ||
it("mutates correctly", () => __awaiter(this, void 0, void 0, function* () { | ||
describe("cases", () => { | ||
for (const caseName of caseNames) { | ||
it(caseName, () => __awaiter(this, void 0, void 0, function* () { | ||
return (yield this.caseFactory.create(path.join(casesPath, caseName))) | ||
.run(); | ||
})); | ||
}); | ||
} | ||
} | ||
}); | ||
} | ||
} | ||
exports.TestsFactory = TestsFactory; |
@@ -39,11 +39,11 @@ import * as fs from "fs"; | ||
for (const caseName of caseNames) { | ||
describe(caseName, (): void => { | ||
it("mutates correctly", async (): Promise<void> => { | ||
describe("cases", (): void => { | ||
for (const caseName of caseNames) { | ||
it(caseName, async (): Promise<void> => { | ||
return (await this.caseFactory.create(path.join(casesPath, caseName))) | ||
.run(); | ||
}); | ||
}); | ||
} | ||
} | ||
}); | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
197459