Skip to content

Commit 14653ff

Browse files
authored
chore(iast): Remove fake tokens from test descriptions (#6981)
To remove some warnings because secrets in the logs, as they are fake tokens, we can just remove them from the logs.
1 parent 815b143 commit 14653ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dd-trace/test/appsec/iast/analyzers/hardcoded-secret-analyzer.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ describe('Hardcoded Secret Analyzer', () => {
3535
suite.forEach((testCase) => {
3636
testCase.samples.forEach((sample, sampleIndex) => {
3737
// sample values are arrays containing the parts of the original token
38-
it(`should match rule ${testCase.id} with #${sampleIndex + 1} value ${sample[0]}...`, () => {
38+
it(`should match rule ${testCase.id} with #${sampleIndex + 1}`, () => {
3939
const value = sample.join('')
4040
const ident = testCase.type === NameAndValue ? value.split(' = ')[0] : undefined
4141

0 commit comments

Comments
 (0)