Skip to content

Commit 1ffb3fc

Browse files
committed
test: update convCommit.test.ts
1 parent 30a8c6d commit 1ffb3fc

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

src/test/generate/convCommit.test.ts

Lines changed: 8 additions & 7 deletions
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

@@ -81,7 +81,7 @@ describe("Test #ConventionalCommit class for path-based conventional commit logi
8181
});
8282

8383
describe("#isBuildRelated", function () {
84-
it("can recognize a build change fr a build-related filename", function () {
84+
it("can recognize a build change for a build-related filename", function () {
8585
assert.strictEqual(
8686
new ConventionalCommit("Dockerfile").isBuildRelated(),
8787
true
@@ -186,10 +186,11 @@ describe("Test #ConventionalCommit class for path-based conventional commit logi
186186
});
187187

188188
describe("#getType", function () {
189-
// Rather than true and false like in above tests this actually categorizes and also it closer
190-
// to the real world as it through a hierarchy (for example .yml is config-related unless it is
191-
// for a CI file). But, this doesn't care what the action is like create or delete or modify, so
192-
// it won't impose meaning based on that.
189+
// Rather than true and false like in above tests this actually categorizes
190+
// and also it closer to the real world as it through a hierarchy (for
191+
// example .yml is config-related unless it is for a CI file). But, this
192+
// doesn't care what the action is like create or delete or modify, so it
193+
// won't impose meaning based on that.
193194
it("sees a build file as build", function () {
194195
assert.strictEqual(
195196
new ConventionalCommit("Makefile").getType(),
@@ -232,7 +233,7 @@ describe("Test #ConventionalCommit class for path-based conventional commit logi
232233
);
233234
});
234235

235-
// TODO Break into categories
236+
// TODO: Break into categories
236237
it("can tell a type for other types", function () {
237238
assert.strictEqual(
238239
new ConventionalCommit("foo").getType(),

0 commit comments

Comments
 (0)