Skip to content

Commit

Permalink
chore: rebas eme
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabadesso committed Jun 6, 2024
1 parent 3e80498 commit 59727fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions packages/common/src/utils/alerting.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/daemon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 59727fd

Please sign in to comment.