mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-28 15:09:39 -08:00
19 lines
503 B
JavaScript
19 lines
503 B
JavaScript
|
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
|
||
|
module.exports = {
|
||
|
preset: 'ts-jest',
|
||
|
extensionsToTreatAsEsm: ['.ts'],
|
||
|
testEnvironment: 'node',
|
||
|
setupFiles: [
|
||
|
'./setupJest.cjs'
|
||
|
],
|
||
|
globals: {
|
||
|
'ts-jest': {
|
||
|
useESM: true,
|
||
|
},
|
||
|
},
|
||
|
moduleNameMapper: {
|
||
|
'lezer-promql': '<rootDir>/../../node_modules/lezer-promql/dist/index.es.js'
|
||
|
},
|
||
|
transformIgnorePatterns: ["<rootDir>/../../node_modules/(?!lezer-promql)/"]
|
||
|
};
|