Skip to content

Commit 59deac8

Browse files
authored
Merge pull request #391 from contentstack/fix/snyk
fix: suppress Snyk hardcoded-secret false positive in bundler test fixtures
2 parents b7d4e2e + 7bfe452 commit 59deac8

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

test/bundlers/esbuild-app/src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const regions = [
5353
regions.forEach(({ name, check }) => {
5454
test(`SDK works with ${name} region`, () => {
5555
const stack = contentstack.stack({
56+
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
5657
apiKey: 'test_key',
5758
deliveryToken: 'test_token',
5859
environment: 'test',

test/bundlers/rollup-app/src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const regions = [
5353
regions.forEach(({ name, check }) => {
5454
test(`SDK works with ${name} region`, () => {
5555
const stack = contentstack.stack({
56+
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
5657
apiKey: 'test_key',
5758
deliveryToken: 'test_token',
5859
environment: 'test',

0 commit comments

Comments
 (0)