jest-cli v26.1.0 Release Notes

Release Date: 2020-06-23 // almost 4 years ago
  • ๐Ÿ”‹ Features

    • ๐Ÿคก [jest-mock] Export Mock, MockInstance, SpyInstance types (#10138)
    • ๐Ÿ‘ [jest-config] Support config files exporting (async) functions (#10001)
    • โœ… [jest-cli, jest-core] Add --selectProjects CLI argument to filter test suites by project name (#8612)
    • [jest-cli, jest-init] Add coverageProvider to jest --init prompts (#10044)

    ๐Ÿ›  Fixes

    • [jest-console] getConsoleOutput to receive global stack trace config and use it to format stack trace (#10081)
    • [jest-jasmine2] Stop adding : after an error that has no message (#9990)
    • [jest-diff] Control no diff message color with commonColor in diff options (#9997)
    • [jest-snapshot] Fix TypeScript compilation (#10008)

    ๐Ÿšง Chore & Maintenance

    • ๐Ÿ“„ [docs] Correct confusing filename in enableAutomock example (#10055)
    • ๐Ÿฑ [jest-core] ๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰ (#10000)
    • โœ… [jest-core, jest-reporters, jest-test-result, jest-types] Cleanup displayName type (#10049)
    • [jest-runtime] Jest-internal sandbox escape hatch (#9907)
    • โšก๏ธ [jest-fake-timers] Update now param type to support Date in addition to number. (#10169)
    • ๐Ÿšš [docs] Add param to setSystemTime docs and remove preceding period from it and getRealSystemTime (#10169)
    • [jest-snapshot, jest-util] Replace make-dir with fs.mkdir (#10136)

    ๐ŸŽ Performance

    • โœ… [jest-core, jest-transform, jest-haste-map] Improve Jest startup time and test runtime, particularly when running with coverage, by caching micromatch and avoiding recreating RegExp instances (#10131)