UNPKG

@fairdatasociety/fairdrive-opfs

Version:

Fairdrive OPFS - integrate data sources from Web 2.0 or Web 3.0

21 lines (20 loc) 491 B
/** @type {import('ts-jest').JestConfigWithTsJest} */ module.exports = { // [...] preset: 'ts-jest/presets/default-esm', // or other ESM presets moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1', }, transform: { // '^.+\\.[tj]sx?$' to process js/ts with `ts-jest` // '^.+\\.m?[tj]sx?$' to process js/ts/mjs/mts with `ts-jest` '^.+\\.tsx?$': [ 'ts-jest', { useESM: true, }, ], }, automock: false, setupFiles: ['./setupJest.js'], }