UNPKG

x-view-model

Version:

A lightweight, type-safe MVVM state management solution for React applications. Features reactive updates, computed properties, and deep path selection with minimal bundle size.

22 lines 514 B
/** @type {import('ts-jest').JestConfigWithTsJest} */ module.exports = { preset: 'ts-jest', testEnvironment: 'node', testMatch: ['**/__tests__/**/*.test.ts'], moduleFileExtensions: ['ts', 'js'], transform: { '^.+\\.(ts|js)$': ['ts-jest', { tsconfig: { allowJs: true, module: 'commonjs', } }], }, extensionsToTreatAsEsm: ['.ts'], moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1', }, transformIgnorePatterns: [ 'node_modules/(?!(lodash-es)/)', ], };