Skip to content

Commit 08d4230

Browse files
authored
Merge pull request #395 from contentstack/fix/snyk
fix: add comments to ignore deepcode warnings for hardcoded test API …
2 parents 37eaaaa + 84b3409 commit 08d4230

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/integration/NetworkResilienceTests/RetryLogic.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ describe('Retry Logic & Network Resilience - Comprehensive Tests', () => {
270270
describe('Error Scenarios', () => {
271271
test('Error_InvalidAPIKey_FailsWithoutRetry', async () => {
272272
const localStack = Contentstack.Stack({
273+
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
273274
api_key: 'invalid_api_key_12345',
274275
delivery_token: config.stack.delivery_token,
275276
environment: config.stack.environment,
@@ -436,6 +437,7 @@ describe('Retry Logic & Network Resilience - Comprehensive Tests', () => {
436437
const RETRY_LIMIT = 5;
437438

438439
const localStack = Contentstack.Stack({
440+
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
439441
api_key: 'invalid_api_key_for_timing_test',
440442
delivery_token: config.stack.delivery_token,
441443
environment: config.stack.environment,

0 commit comments

Comments
 (0)