Skip to content

Commit

Permalink
chore: adjust code
Browse files Browse the repository at this point in the history
  • Loading branch information
imtaotao committed Sep 4, 2024
1 parent 3a142a6 commit 126e781
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
module.exports = {
clearMocks: true,
rootDir: __dirname,
preset: "ts-jest",
testMatch: ["<rootDir>/src/__tests__/**/*spec.[jt]s?(x)"],
coverageProvider: "v8",
coverageDirectory: "coverage",
transform: { "\\.ts$": "ts-jest" },
preset: 'ts-jest',
testMatch: ['<rootDir>/src/__tests__/**/*spec.[jt]s?(x)'],
coverageProvider: 'v8',
coverageDirectory: 'coverage',
transform: { '\\.ts$': 'ts-jest' },
globals: {
__TEST__: "true",
__VERSION__: '"unknow"',
__TEST__: 'true',
__VERSION__: '"unknown"',
},
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"author": "imtaotao",
"keywords": [
"danmu",
"danmaku",
"danmuku",
"弹幕",
"弹幕库"
Expand Down

0 comments on commit 126e781

Please sign in to comment.