Skip to content

Commit

Permalink
EntOS and extension SDK service call
Browse files Browse the repository at this point in the history
  • Loading branch information
anjalimukundan committed Nov 8, 2024
1 parent 7a83fe1 commit 660178f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]]) {
Expand Down
4 changes: 4 additions & 0 deletions webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
),
Expand Down
4 changes: 4 additions & 0 deletions webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
),
Expand Down

0 comments on commit 660178f

Please sign in to comment.