mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-09-20 07:16:05 +08:00
fixed tests
This commit is contained in:
parent
f19b93a67f
commit
ecf362c67d
|
@ -558,7 +558,7 @@ const getElasticSearchQuery = async (db, user, queryStr) => {
|
|||
};
|
||||
|
||||
module.exports = { parseSearchQuery, getMongoDBQuery, getElasticSearchQuery };
|
||||
|
||||
/*
|
||||
if (process.env.DEBUG_TEST_QUERY && process.env.NODE_ENV !== 'production') {
|
||||
const util = require('util'); // eslint-disable-line
|
||||
let main = () => {
|
||||
|
@ -586,3 +586,4 @@ if (process.env.DEBUG_TEST_QUERY && process.env.NODE_ENV !== 'production') {
|
|||
};
|
||||
main();
|
||||
}
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue