Skip to content

Commit

Permalink
[asm] iast taint-tracking flaky (#5225)
Browse files Browse the repository at this point in the history
  • Loading branch information
iunanua authored Feb 8, 2025
1 parent ff4072e commit 66c13fc
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,16 +301,13 @@ describe('IAST Rewriter', () => {
function onHardcodedSecret (literals) {
expect(literals).to.deep.equal(literalsResult)

hardcodedSecretCh.unsubscribe(onHardcodedSecret)
done()
}

hardcodedSecretCh.subscribe(onHardcodedSecret)

port.postMessage({ type: constants.REWRITTEN_MESSAGE, data })

setTimeout(() => {
hardcodedSecretCh.unsubscribe(onHardcodedSecret)
}, 50)
})

it('should log the message', (done) => {
Expand Down

0 comments on commit 66c13fc

Please sign in to comment.