UNPKG

flare-api

Version:

A modern, fast, and intuitive Node.js framework for building APIs

16 lines (13 loc) 435 B
module.exports = { preset: 'ts-jest', testEnvironment: 'node', moduleFileExtensions: ['js', 'json', 'ts'], testMatch: ['**/tests/**/*.test.ts'], transform: { '^.+\\.(ts|js)$': 'ts-jest' // Cambiamos a ts-jest para TypeScript y JavaScript }, moduleDirectories: ['node_modules', 'src'], transformIgnorePatterns: [ '/node_modules/(?!@tensorflow/tfjs-node)' // Excluye la transformación para TensorFlow ], };