From 660178ff71ec6edd6795baac5bb0ff5934e6467a Mon Sep 17 00:00:00 2001 From: anjalimukundan Date: Fri, 8 Nov 2024 11:26:35 +0530 Subject: [PATCH] EntOS and extension SDK service call --- src/utils/Utils.js | 1 + webpack.dev.js | 4 ++++ webpack.prod.js | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/src/utils/Utils.js b/src/utils/Utils.js index 1d954147..cf5912be 100644 --- a/src/utils/Utils.js +++ b/src/utils/Utils.js @@ -119,6 +119,7 @@ function censorData(methodName, response) { let json; try { json = require('../../plugins/external-test-data/fixtures/censorData.json'); + 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.dev.js b/webpack.dev.js index 4c76fcb5..694442f1 100644 --- a/webpack.dev.js +++ b/webpack.dev.js @@ -104,6 +104,10 @@ module.exports = { name: 'IntentReader', alias: ['/plugins/IntentReader.js', '/src/IntentReader.js'], }, + { + name: 'runTestHandler', + alias: ['/plugins/runTestHandler.js', '/src/pubsub/handlers/RunTestHandler.js'], + }, ], 'resolve' ), diff --git a/webpack.prod.js b/webpack.prod.js index da3c23d8..55c58e46 100644 --- a/webpack.prod.js +++ b/webpack.prod.js @@ -87,6 +87,10 @@ module.exports = { name: 'IntentReader', alias: ['/plugins/IntentReader.js', '/src/IntentReader.js'], }, + { + name: 'runTestHandler', + alias: ['/plugins/runTestHandler.js', '/src/pubsub/handlers/RunTestHandler.js'], + }, ], 'resolve' ),