Skip to content

feat(core): add mfa verification guard

Codecov / codecov/patch succeeded Jul 19, 2024 in 0s

27.93% of diff hit (target 70.00%)

View this Pull Request on Codecov

27.93% of diff hit (target 70.00%)

Annotations

Check warning on line 178 in packages/core/src/routes/experience/classes/experience-interaction.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/experience-interaction.ts#L178

Added line #L178 was not covered by tests

Check warning on line 214 in packages/core/src/routes/experience/classes/experience-interaction.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/experience-interaction.ts#L201-L214

Added lines #L201 - L214 were not covered by tests

Check warning on line 239 in packages/core/src/routes/experience/classes/experience-interaction.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/experience-interaction.ts#L239

Added line #L239 was not covered by tests

Check warning on line 259 in packages/core/src/routes/experience/classes/experience-interaction.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/experience-interaction.ts#L242-L259

Added lines #L242 - L259 were not covered by tests

Check warning on line 270 in packages/core/src/routes/experience/classes/experience-interaction.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/experience-interaction.ts#L261-L270

Added lines #L261 - L270 were not covered by tests

Check warning on line 286 in packages/core/src/routes/experience/classes/experience-interaction.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/experience-interaction.ts#L274-L286

Added lines #L274 - L286 were not covered by tests

Check warning on line 290 in packages/core/src/routes/experience/classes/experience-interaction.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/experience-interaction.ts#L290

Added line #L290 was not covered by tests

Check warning on line 298 in packages/core/src/routes/experience/classes/experience-interaction.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/experience-interaction.ts#L298

Added line #L298 was not covered by tests

Check warning on line 303 in packages/core/src/routes/experience/classes/experience-interaction.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/experience-interaction.ts#L303

Added line #L303 was not covered by tests

Check warning on line 329 in packages/core/src/routes/experience/classes/experience-interaction.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/experience-interaction.ts#L324-L329

Added lines #L324 - L329 were not covered by tests

Check warning on line 332 in packages/core/src/routes/experience/classes/experience-interaction.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/experience-interaction.ts#L332

Added line #L332 was not covered by tests

Check warning on line 348 in packages/core/src/routes/experience/classes/experience-interaction.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/experience-interaction.ts#L344-L348

Added lines #L344 - L348 were not covered by tests

Check warning on line 412 in packages/core/src/routes/experience/classes/experience-interaction.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/experience-interaction.ts#L408-L412

Added lines #L408 - L412 were not covered by tests

Check warning on line 436 in packages/core/src/routes/experience/classes/experience-interaction.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/experience-interaction.ts#L421-L436

Added lines #L421 - L436 were not covered by tests

Check warning on line 123 in packages/core/src/routes/experience/classes/utils.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/utils.ts#L66-L123

Added lines #L66 - L123 were not covered by tests

Check warning on line 30 in packages/core/src/routes/experience/classes/validators/mfa-validator.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/validators/mfa-validator.ts#L29-L30

Added lines #L29 - L30 were not covered by tests

Check warning on line 36 in packages/core/src/routes/experience/classes/validators/mfa-validator.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/validators/mfa-validator.ts#L34-L36

Added lines #L34 - L36 were not covered by tests

Check warning on line 48 in packages/core/src/routes/experience/classes/validators/mfa-validator.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/validators/mfa-validator.ts#L43-L48

Added lines #L43 - L48 were not covered by tests

Check warning on line 90 in packages/core/src/routes/experience/classes/validators/mfa-validator.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/validators/mfa-validator.ts#L55-L90

Added lines #L55 - L90 were not covered by tests

Check warning on line 94 in packages/core/src/routes/experience/classes/validators/mfa-validator.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/validators/mfa-validator.ts#L93-L94

Added lines #L93 - L94 were not covered by tests

Check warning on line 105 in packages/core/src/routes/experience/classes/validators/mfa-validator.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/validators/mfa-validator.ts#L97-L105

Added lines #L97 - L105 were not covered by tests

Check warning on line 121 in packages/core/src/routes/experience/classes/validators/mfa-validator.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/validators/mfa-validator.ts#L108-L121

Added lines #L108 - L121 were not covered by tests

Check warning on line 118 in packages/core/src/routes/experience/classes/validators/sign-in-experience-validator.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/validators/sign-in-experience-validator.ts#L115-L118

Added lines #L115 - L118 were not covered by tests

Check warning on line 156 in packages/core/src/routes/experience/classes/verifications/enterprise-sso-verification.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/verifications/enterprise-sso-verification.ts#L155-L156

Added lines #L155 - L156 were not covered by tests

Check warning on line 163 in packages/core/src/routes/experience/classes/verifications/enterprise-sso-verification.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/core/src/routes/experience/classes/verifications/enterprise-sso-verification.ts#L159-L163

Added lines #L159 - L163 were not covered by tests