UNPKG

@bernierllc/email-template-engine

Version:

Email template processing engine with compilation, rendering, and text generation

35 lines (32 loc) 997 B
/* Copyright (c) 2025 Bernier LLC This file is licensed to the client under a limited-use license. The client may use and modify this code *only within the scope of the project it was delivered for*. Redistribution or use in other products or commercial offerings is not permitted without written consent from Bernier LLC. */ module.exports = { preset: 'ts-jest', // Use fixed environment to handle Node.js v25+ localStorage issue testEnvironment: '<rootDir>/../../../jest-environment-node-fixed.cjs', roots: ['<rootDir>/src', '<rootDir>/__tests__'], testMatch: ['**/__tests__/**/*.test.ts', '**/?(*.)+(spec|test).ts'], transform: { '^.+\\.ts$': 'ts-jest', }, collectCoverageFrom: [ 'src/**/*.ts', '!src/**/*.d.ts', '!src/index.ts' ], coverageThreshold: { global: { branches: 90, functions: 90, lines: 90, statements: 90 } }, coverageDirectory: 'coverage', coverageReporters: ['text', 'lcov', 'html'], verbose: true };