mirror of
https://git.netzspielplatz.de/docker-multiarch/openwrt-firmware-selector.git
synced 2025-11-08 20:39:25 +00:00
fix failing test
This commit is contained in:
parent
7cdb5206af
commit
3fa4a871fc
5 changed files with 14 additions and 10 deletions
|
|
@ -7,6 +7,8 @@ module.exports = {
|
|||
// using ts-jest
|
||||
transform: {
|
||||
'^.+\\.tsx?$': 'ts-jest',
|
||||
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
|
||||
'jest-transform-stub',
|
||||
},
|
||||
|
||||
// Runs special logic, such as cleaning up components
|
||||
|
|
@ -24,7 +26,6 @@ module.exports = {
|
|||
|
||||
moduleNameMapper: {
|
||||
'^.+\\.(css|scss)$': 'identity-obj-proxy',
|
||||
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
|
||||
'<rootDir>/fileMocks.js',
|
||||
'^.+.(png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue