From 60528413813ea913a7a4805cbb54ed272b57d31c Mon Sep 17 00:00:00 2001 From: David Walsh Date: Wed, 29 Mar 2023 12:44:04 -0500 Subject: [PATCH] Fix breaking jest test for MMI (#18365) * Fix breaking jest test for MMI * Bump coverage threshold --------- Co-authored-by: Elliot Winkler Co-authored-by: PeterYinusa --- coverage-targets.js | 6 +++--- .../__snapshots__/compliance-settings.test.js.snap | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/coverage-targets.js b/coverage-targets.js index e221e9466..6157a706d 100644 --- a/coverage-targets.js +++ b/coverage-targets.js @@ -6,10 +6,10 @@ // subset of files to check against these targets. module.exports = { global: { - lines: 65, + lines: 65.5, branches: 53.5, - statements: 64, - functions: 57.4, + statements: 64.75, + functions: 58, }, transforms: { branches: 100, diff --git a/ui/components/institutional/compliance-settings/__snapshots__/compliance-settings.test.js.snap b/ui/components/institutional/compliance-settings/__snapshots__/compliance-settings.test.js.snap index bddb1ef05..946a5a7f5 100644 --- a/ui/components/institutional/compliance-settings/__snapshots__/compliance-settings.test.js.snap +++ b/ui/components/institutional/compliance-settings/__snapshots__/compliance-settings.test.js.snap @@ -44,17 +44,17 @@ exports[`Compliance Settings shows start btn when Compliance its not activated 1 class="box institutional-feature__content box--flex-direction-row" >

DeFi raises AML/CFT risk for institutions, given the decentralised pools and pseudonymous counterparties.

Codefi Compliance is the only product capable of running AML/CFT analysis on DeFi pools. This allows you to identify and avoid pools and counterparties that fail your risk setting.

Steps to enable AML/CFT Compliance: