UNPKG

@uplink-protocol/form-controller

Version:

Reactive multi-step form controller with dynamic validation and state management

27 lines (26 loc) 544 B
module.exports = { preset: 'ts-jest', testEnvironment: 'node', moduleFileExtensions: [ 'ts', 'tsx', 'js', 'jsx' ], testMatch: [ '**/__tests__/**/*.(spec|test).ts', '**/?(*.)+(spec|test).ts' ], testPathIgnorePatterns: [ '/node_modules/', '/dist/', 'test-utils.ts' ], transform: { '^.+\\.(ts|tsx)$': 'ts-jest' }, moduleNameMapper: { '^@/(.*)$': '<rootDir>/src/$1', '^@uplink-protocol/core$': '<rootDir>/src/__mocks__/@uplink-protocol/core.ts' } };