Skip to content

Commit

Permalink
Ignore deprecation warning in 'superagent' package
Browse files Browse the repository at this point in the history
  • Loading branch information
watson committed Nov 9, 2020
1 parent ff14353 commit f8bcaa7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/setup_node_env/exit_on_warning.js
Expand Up @@ -34,6 +34,12 @@ var IGNORE_WARNINGS = [
{
name: 'MaxListenersExceededWarning',
},
{
name: 'DeprecationWarning',
code: 'DEP0066',
file: '/node_modules/supertest/node_modules/superagent/lib/node/index.js',
line: 418,
},
];

if (process.noProcessWarnings !== true) {
Expand Down

0 comments on commit f8bcaa7

Please sign in to comment.