fixed tests

This commit is contained in:
Andris Reinman 2023-07-20 13:43:42 +03:00
parent f19b93a67f
commit ecf362c67d

View file

@ -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();
}
*/