Skip to content

Commit adaaaa9

Browse files
committed
style: update convCommit.test.ts, count.test.ts and prepareCommitMsg.test.ts
1 parent 1ffb3fc commit adaaaa9

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/test/generate/convCommit.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import * as assert from "assert";
77
import {
88
ConventionalCommit,
9-
getConventionType
9+
getConventionType,
1010
} from "../../generate/convCommit";
1111
import { ACTION, CONVENTIONAL_TYPE } from "../../lib/constants";
1212

src/test/generate/count.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
_countByAction,
88
_formatAll,
99
_formatOne,
10-
_moveOrRenameFromChange
10+
_moveOrRenameFromChange,
1111
} from "../../generate/count";
1212
import { FileChange } from "../../git/parseOutput.d";
1313

src/test/prepareCommitMsg.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
_msgFromChanges,
1919
_msgNamed,
2020
_newMsg,
21-
_prefixFromChange
21+
_prefixFromChange,
2222
} from "../prepareCommitMsg";
2323
import { ConvCommitMsg } from "../prepareCommitMsg.d";
2424

@@ -342,7 +342,8 @@ describe("Prepare commit message", function () {
342342
];
343343
const expected = {
344344
typePrefix: CONVENTIONAL_TYPE.DOCS,
345-
description: "update docs/README.md, 'bar buzz/README.md' and README.md",
345+
description:
346+
"update docs/README.md, 'bar buzz/README.md' and README.md",
346347
};
347348

348349
assert.deepStrictEqual(_msgNamed(lines), expected);

0 commit comments

Comments
 (0)