-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: react testing library 사용 시 에러 이미지 import 시 에러 발생 (#155)
* infra: 이슈 템플릿 & PR 템플릿 작성 (#86) * infra: 이슈 템플릿 작성 (#84) * infra: PR 템플릿 작성 (#84) * fix: jest svg, png 관련 컴포넌트 발생 에러 해결 (#154) --------- Co-authored-by: Donghun Shin <[email protected]>
- Loading branch information
1 parent
9abbbc5
commit 013b315
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// fileTransformer.js | ||
const path = require('path'); | ||
|
||
module.exports = { | ||
process(sourceText, sourcePath, options) { | ||
return { | ||
code: `module.exports = ${JSON.stringify(path.basename(sourcePath))};`, | ||
}; | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters