mirror of
https://github.com/fluencelabs/examples
synced 2025-06-14 18:41:21 +00:00
feat!: Replace old fluence-js with JS Client (#425)
This commit is contained in:
16
js-client-examples/node-example/jest.config.cjs
Normal file
16
js-client-examples/node-example/jest.config.cjs
Normal file
@ -0,0 +1,16 @@
|
||||
/** @type {import('ts-jest').JestConfigWithTsJest} */
|
||||
module.exports = {
|
||||
extensionsToTreatAsEsm: ['.ts'],
|
||||
moduleNameMapper: {
|
||||
'^(\\.{1,2}/.*)\\.js$': '$1',
|
||||
},
|
||||
testPathIgnorePatterns: ['dist'],
|
||||
transform: {
|
||||
'^.+\\.tsx?$': [
|
||||
'ts-jest',
|
||||
{
|
||||
useESM: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
Reference in New Issue
Block a user