Skip to content

Commit

Permalink
ci: exclude test from snyk
Browse files Browse the repository at this point in the history
snyk reports  "[High] Hardcoded Secret" in a spec file but we're fine with that
  • Loading branch information
dawidsowardx committed Jun 21, 2024
1 parent 2a910be commit ae75612
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
exclude:
global:
- packages/dapp-toolkit/src/modules/wallet-request/crypto/signature.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ describe('Curve25519', () => {
expect(keyPair2.x25519.getPublicKey()).toBeDefined()
expect(keyPair2.ed25519.getPublicKey()).toBeDefined()
})
it.only('should calculate a shared secret', () => {

it('should calculate a shared secret', () => {
const sharedSecretResult = keyPair1.x25519.calculateSharedSecret(
keyPair2.x25519.getPublicKey(),
dAppDefinitionAddress,
Expand Down

0 comments on commit ae75612

Please sign in to comment.