Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2b4b78a

Browse files
committed
(test): add code coverage configuration
- gitignore coverage/ directory- ignore asyncLocalStorage for now - internally we only use getItem and setItem -- the other methods are defined for strictly for type purposes - maybe keep the file in coverage but ignore the unused methods?- (deps): update tsdx to support custom jest configs
1 parent8ff0244 commit2b4b78a

File tree

4 files changed

+3926
-2630
lines changed

4 files changed

+3926
-2630
lines changed

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ dist/
44
.rts2_cache_cjs
55
.rts2_cache_esm
66
.rts2_cache_umd
7+
coverage/
78

89
### Node ###
910

‎jest.config.js‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports={
2+
coveragePathIgnorePatterns:[
3+
'/node_modules/',// default
4+
'<rootDir>/src/asyncLocalStorage.ts'// ignore for now
5+
]
6+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp