mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
10 lines
277 B
JavaScript
10 lines
277 B
JavaScript
/** @type {import('ts-jest').JestConfigWithTsJest} */
|
|
// const { jsWithTs: tsjPreset } = require('ts-jest/presets')
|
|
|
|
module.exports = {
|
|
preset: 'ts-jest/presets/default-esm',
|
|
moduleNameMapper: {
|
|
'^(\\.{1,2}/.*)\\.js$': '$1', // Redirect .js imports to .ts files
|
|
},
|
|
}
|