UNPKG

natural-time-js

Version:

Natural time is a fresh, elegant, and coherent way of measuring the movements of time here on the Earth. This new time standard is based on common sense and the observation of natural cycles. Learn more: https://naturaltime.app. This JavaScript Class tran

29 lines 617 B
module.exports = { preset: 'ts-jest', testEnvironment: 'node', extensionsToTreatAsEsm: ['.ts'], moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1', }, transform: { '^.+\\.tsx?$': ['ts-jest', { useESM: true, }], }, testMatch: [ '**/__tests__/**/*.test.ts', '**/__tests__/**/*.test.js', '**/src/**/__tests__/**/*.test.ts', '**/src/**/__tests__/**/*.test.js' ], collectCoverageFrom: [ 'src/**/*.ts', 'src/**/*.js', '!src/index.ts', '!src/index.js', '!**/node_modules/**', '!**/dist/**' ], coverageDirectory: 'coverage', verbose: true, };