refacto config test

This commit is contained in:
styve Lioumba
2025-11-16 12:39:53 +01:00
parent e33c8a229f
commit 61b0bd0d19
3 changed files with 49 additions and 9 deletions

View File

@@ -0,0 +1,9 @@
// suppress-deprecation-warnings.js
const originalEmitWarning = process.emitWarning;
process.emitWarning = (warning, type, code, ...args) => {
if (code === 'DEP0040') {
return;
}
return originalEmitWarning.call(process, warning, type, code, ...args);
};