mirror of
https://github.com/carloscuesta/gitmoji.git
synced 2025-12-08 20:14:12 +00:00
25 lines
446 B
JavaScript
25 lines
446 B
JavaScript
const nextJest = require('next/jest')
|
|
|
|
const createJestConfig = nextJest({
|
|
dir: './'
|
|
})
|
|
|
|
/** @type {import('jest').Config} */
|
|
module.exports = createJestConfig({
|
|
"collectCoverageFrom": [
|
|
"src/**/*.{ts,tsx}",
|
|
],
|
|
"testMatch": [
|
|
"**/*.(spec).(ts)",
|
|
"**/*.(spec).(tsx)"
|
|
],
|
|
"moduleNameMapper": {
|
|
"src/(.*)$": "<rootDir>/src/$1"
|
|
},
|
|
"testEnvironment": "jsdom",
|
|
"reporters": [
|
|
"default",
|
|
"github-actions"
|
|
]
|
|
})
|