Skip to content

26.5.3

Compare
Choose a tag to compare
@SimenB SimenB released this 11 Oct 17:51

Features

  • [jest-runtime] add support for dynamic import() from CommonJS (#10620)

Fixes

  • [jest-runner, jest-runtime] require.main should not be undefined with createRequire() (#10610)
  • [jest-runtime] add missing module.path property (#10615)
  • [jest-runtime] Add mainModule instance variable to runtime (#10621)
  • [jest-runtime] Evaluate Node core modules on dynamic import() (#10622)
  • [jest-validate] Show suggestion only when unrecognized cli param is longer than 1 character (#10604)
  • [jest-validate] Validate testURL as CLI option (#10595)