Skip to content

Jest is failing on a FIPS enabled machine #10726

@sbel314

Description

@sbel314

🐛 Bug Report

Tried running Jest tests on a FIPS (Federal Information Processing Standards) compliant Linux machine. It failed immediately reporting that md5 is disabled for fips. Tracing through the Jest code, there is a "normalizeMissingOptions" function in normalize.js that calls "createHash" using md5 which OpenSSL cannot use under FIPS standards.

To Reproduce

Run a basic Jest test on a FIPS machine. Similar output should be returned as described above in the bug report.

Expected behavior

Similar output should be returned as described above in the bug report.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions