mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
chore: Upgrade pdfjs-dist (no-changelog) (#15729)
This commit is contained in:
committed by
GitHub
parent
d64f2e57f7
commit
b772462cea
@@ -21,7 +21,15 @@ const config = {
|
||||
testPathIgnorePatterns: ['/dist/', '/node_modules/'],
|
||||
transform: {
|
||||
'^.+\\.ts$': ['ts-jest', tsJestOptions],
|
||||
'node_modules/pdfjs-dist/.+\\.mjs$': [
|
||||
'babel-jest',
|
||||
{
|
||||
presets: ['@babel/preset-env'],
|
||||
plugins: ['babel-plugin-transform-import-meta'],
|
||||
},
|
||||
],
|
||||
},
|
||||
transformIgnorePatterns: ['/dist/', '/node_modules/(?!.*pdfjs-dist/)'],
|
||||
// This resolve the path mappings from the tsconfig relative to each jest.config.js
|
||||
moduleNameMapper: compilerOptions?.paths
|
||||
? pathsToModuleNameMapper(compilerOptions.paths, {
|
||||
|
||||
Reference in New Issue
Block a user