diff --git a/packages/common/src/utils/alerting.utils.ts b/packages/common/src/utils/alerting.utils.ts index 5a64e22b..8ffaec97 100644 --- a/packages/common/src/utils/alerting.utils.ts +++ b/packages/common/src/utils/alerting.utils.ts @@ -8,15 +8,18 @@ import { SendMessageCommand, SQSClient } from '@aws-sdk/client-sqs'; import { Severity } from '../types'; import { Logger } from 'winston'; -import { assertEnvVariablesExistence } from './index.utils'; +import * as indexUtils from './index.utils'; +// import { assertEnvVariablesExistence } from './index.utils'; -assertEnvVariablesExistence([ +console.log('index utils: ', indexUtils); + +/* assertEnvVariablesExistence([ 'NETWORK', 'APPLICATION_NAME', 'ACCOUNT_ID', 'ALERT_MANAGER_REGION', 'ALERT_MANAGER_TOPIC', -]); +]); */ /** * Adds a message to the SQS alerting queue diff --git a/packages/daemon/package.json b/packages/daemon/package.json index 6876993e..7e83bbf7 100644 --- a/packages/daemon/package.json +++ b/packages/daemon/package.json @@ -21,7 +21,7 @@ "test_images_wait_for_db": "yarn dlx ts-node ./__tests__/integration/scripts/wait-for-db-up.ts", "test_images_wait_for_ws": "yarn dlx ts-node ./__tests__/integration/scripts/wait-for-ws-up.ts", "test_images_setup_database": "yarn dlx ts-node ./__tests__/integration/scripts/setup-database.ts", - "test": "jest --coverage", + "test": "jest --coverage --verbose", "test_integration": "yarn run test_images_up && yarn run test_images_wait_for_db && yarn run test_images_wait_for_ws && yarn run test_images_setup_database && yarn run test_images_migrate && yarn run test_images_integration && yarn run test_images_down" }, "name": "sync-daemon",