Socket
Socket
Sign inDemoInstall

automutate

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

automutate - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"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();
});
});
}
}
});
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc