diff --git a/src/utils/Utils.js b/src/utils/Utils.js index 3ba1d442..4ac82dca 100644 --- a/src/utils/Utils.js +++ b/src/utils/Utils.js @@ -119,6 +119,7 @@ async function getschemaValidationDone(name, response, sdkType) { function censorData(methodName, response) { try { const json = censorDataJson; + methodName = methodName.charAt(0).toUpperCase() + methodName.slice(1); if (methodName in json) { for (let i = 0; i < json[methodName].field.length; i++) { if (response[json[methodName].field[i]]) { diff --git a/webpack.prod.js b/webpack.prod.js index 5778ea61..0d35ac90 100644 --- a/webpack.prod.js +++ b/webpack.prod.js @@ -91,6 +91,10 @@ module.exports = { name: 'CensorData', alias: ['/plugins/censorData.json', '/src/source/censorData.json'], }, + { + name: 'runTestHandler', + alias: ['/plugins/runTestHandler.js', '/src/pubsub/handlers/RunTestHandler.js'], + }, ], 'resolve' ),