Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vscode/engine] getGitLog 함수 관련 테스트 코드 구현 #689

Merged
merged 19 commits into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
189 changes: 180 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions packages/vscode/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import type { Config } from "@jest/types";

const config: Config.InitialOptions = {
preset: "ts-jest",
testEnvironment: "node",
testPathIgnorePatterns: ["/node_modules/", "/out/"],
verbose: true,
rootDir: "./",
};

export default config;
5 changes: 4 additions & 1 deletion packages/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"lint:fix": "eslint src --ext ts --fix",
"test": "node ./out/test/runTest.js"
"test": "jest"
},
"dependencies": {
"@githru-vscode-ext/analysis-engine": "^0.7.0",
Expand All @@ -90,6 +90,7 @@
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/jest": "^29.5.12",
"@types/mocha": "^9.1.1",
"@types/node": "14.x",
"@types/vscode": "^1.67.0",
Expand All @@ -107,8 +108,10 @@
"eslint-plugin-unused-imports": "^3.0.0",
"formdata-polyfill": "^4.0.10",
"glob": "^8.0.1",
"jest": "^29.7.0",
"mocha": "^9.2.2",
"prettier": "^3.0.1",
"ts-jest": "^29.2.5",
"ts-loader": "^9.2.8",
"typescript": "^4.6.4",
"webpack": "^5.70.0",
Expand Down
Loading
Loading