diff --git a/src/App.js b/src/App.js index 4cca0179..3ff0a047 100644 --- a/src/App.js +++ b/src/App.js @@ -114,6 +114,7 @@ export default class App extends Base { process.env.REPORTINGID = reportingId; process.env.STANDALONE = standalone; process.env.STANDALONE_PREFIX = standalonePrefix; + process.env.SDKS_AVAILABLE = [...CONSTANTS.defaultSDKs, ...CONSTANTS.additionalSDKs]; if (platform) { process.env.PLATFORM = platform; } else { diff --git a/src/IntentReader.js b/src/IntentReader.js index 427b9c94..b2b6bcda 100644 --- a/src/IntentReader.js +++ b/src/IntentReader.js @@ -34,7 +34,6 @@ import GetPubSubStatusHandler from './pubsub/handlers/GetPubSubStatusHandler'; import CallMethodHandler from './pubsub/handlers/CallMethodHandler'; import DataFetchHandler from './pubsub/handlers/DataFetchHandler'; import HealthCheckHandler from './pubsub/handlers/HealthCheckHandler'; -import RunTestHandler from './pubsub/handlers/RunTestHandler'; import RegisterEventHandler from './pubsub/handlers/RegisterEventHandler'; import ClearEventListeners from './pubsub/handlers/ClearEventListeners'; import ClearEventHandler from './pubsub/handlers/clearEventHandler'; @@ -45,6 +44,7 @@ import GetEventResponse from './pubsub/handlers/GetEventResponse'; import GetMethodResponseHandler from './pubsub/handlers/GetMethodResponseHandler'; import VisibilityStateHandler from '../src/pubsub/handlers/VisibilityStateHandler'; import LifecycleMethodHandler from './pubsub/handlers/LifecycleMethodHandler'; +import RunTestHandler from 'RunTestHandler'; const logger = require('./utils/Logger')('IntentReader.js'); diff --git a/test/jest.config.js b/test/jest.config.js index 373f0fd7..ea8c200e 100644 --- a/test/jest.config.js +++ b/test/jest.config.js @@ -33,6 +33,7 @@ module.exports = { '^Test_Runner$': '/../src/Test_Runner.js', '^EventInvocation$': '/../src//EventInvocation.js', '^IntentReader$': '../src/IntentReader.js', + '^RunTestHandler$': '/../src/pubsub/handlers/RunTestHandler.js', }, collectCoverage: true, coverageThreshold: { diff --git a/webpack.dev.js b/webpack.dev.js index 694442f1..597258c9 100644 --- a/webpack.dev.js +++ b/webpack.dev.js @@ -105,7 +105,7 @@ module.exports = { alias: ['/plugins/IntentReader.js', '/src/IntentReader.js'], }, { - name: 'runTestHandler', + name: 'RunTestHandler', alias: ['/plugins/runTestHandler.js', '/src/pubsub/handlers/RunTestHandler.js'], }, ], diff --git a/webpack.prod.js b/webpack.prod.js index 55c58e46..b9d0533f 100644 --- a/webpack.prod.js +++ b/webpack.prod.js @@ -88,7 +88,7 @@ module.exports = { alias: ['/plugins/IntentReader.js', '/src/IntentReader.js'], }, { - name: 'runTestHandler', + name: 'RunTestHandler', alias: ['/plugins/runTestHandler.js', '/src/pubsub/handlers/RunTestHandler.js'], }, ],