mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-06 03:50:18 +02:00
parent
721e14fa7a
commit
2abec924e8
12 changed files with 587 additions and 103 deletions
14
libraries/android-bin/jest.config.js
Normal file
14
libraries/android-bin/jest.config.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
/** @type {import('ts-jest').JestConfigWithTsJest} */
|
||||
export default {
|
||||
preset: "ts-jest/presets/default-esm",
|
||||
extensionsToTreatAsEsm: [".ts"],
|
||||
transform: {
|
||||
"^.+\\.tsx?$": [
|
||||
"ts-jest",
|
||||
{ tsconfig: "tsconfig.test.json", useESM: true },
|
||||
],
|
||||
},
|
||||
moduleNameMapper: {
|
||||
"^(\\.{1,2}/.*)\\.js$": "$1",
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue