Skip to content

Commit 42d879f

Browse files
author
“chae-dahee”
committed
fix: conflict - test, lint
1 parent ab9b518 commit 42d879f

5 files changed

Lines changed: 6 additions & 5 deletions

File tree

packages/analysis-engine/src/csm.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,11 +509,11 @@ describe("csm", () => {
509509
it("should throw error when perPage is less than or equal to 0", () => {
510510
expect(() => {
511511
buildPaginatedCSMDict(fakeCommitNodeDict, fakeStemDict, "master", 0);
512-
}).toThrow("perPage must be greater than 0");
512+
}).toThrow("commitCountPerPage must be greater than 0");
513513

514514
expect(() => {
515515
buildPaginatedCSMDict(fakeCommitNodeDict, fakeStemDict, "master", -1);
516-
}).toThrow("perPage must be greater than 0");
516+
}).toThrow("commitCountPerPage must be greater than 0");
517517
});
518518

519519
it("should throw error when base branch does not exist", () => {

packages/analysis-engine/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import "reflect-metadata";
22

3-
import { diContainer } from "./container";
4-
import { DI_IDENTIFIERS } from "./diIdentifiers";
53
import { buildCommitDict } from "./commit.util";
4+
import { diContainer } from "./container";
65
import { buildCSMDict, buildPaginatedCSMDict } from "./csm";
6+
import { DI_IDENTIFIERS } from "./diIdentifiers";
77
import getCommitRaws from "./parser";
88
import { PluginOctokit } from "./pluginOctokit";
99
import { buildStemDict } from "./stem";

packages/view/jest.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const config: Config.InitialOptions = {
1111
moduleFileExtensions: ["ts", "tsx", "js", "mjs", "cjs", "jsx", "json", "node"],
1212
moduleNameMapper: {
1313
"^utils/(.*)$": "<rootDir>/src/utils/$1",
14+
"^constants$": "<rootDir>/src/constants/constants.ts",
1415
d3: "<rootDir>/../../node_modules/d3/dist/d3.min.js",
1516
},
1617
};

packages/vscode/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { COMMAND_LAUNCH, COMMAND_LOGIN_WITH_GITHUB, COMMAND_RESET_GITHUB_AUTH }
55
import { Credentials } from "./credentials";
66
import { GithubTokenUndefinedError, WorkspacePathUndefinedError } from "./errors/ExtensionError";
77
import { deleteGithubToken, getGithubToken, setGithubToken } from "./setting-repository";
8-
import { ClusterNodesResult } from "./types/Node";
8+
import type { ClusterNodesResult } from "./types/Node";
99
import { mapClusterNodesFrom } from "./utils/csmMapper";
1010
import {
1111
fetchGitLogInParallel,

0 commit comments

Comments
 (0)