Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(packages): update jest packages (major) #556

Open
wants to merge 1 commit into
base: release
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 1, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/jest 25.2.1 -> 26.0.23 age adoption passing confidence
jest (source) 26.0.1 -> 27.0.4 age adoption passing confidence
jest-junit 10.0.0 -> 12.2.0 age adoption passing confidence
jest-preset-angular (source) 8.2.0 -> 9.0.3 age adoption passing confidence

Release Notes

facebook/jest

v27.0.4

Compare Source

Fixes
  • [jest-config, jest-resolve] Pass in require.resolve to resolvers to resolve from correct base (#​11493)

v27.0.3

Compare Source

Fixes
  • [jest-config] require.resolve on default test sequencer and test environment (#​11482)
  • [jest-mock] Fixed fn and spyOn exports (#​11480)

v27.0.2

Compare Source

Features
  • [jest-circus] Add some APIs to make it easier to build your own test runner
  • [jest-reporters] Expose the getResultHeader util (#​11460)
  • [jest-resolver] Export resolve* utils for different Jest modules (#​11466)
  • [@jest/test-result] Export Test, TestEvents and TestFileEvent (#​11466)
Fixes
  • [jest-circus] Add missing slash dependency (#​11465)
  • [jest-circus, @​jest/test-sequencer] Remove dependency on jest-runner (#​11466)
  • [jest-config] Resolve config.runner to absolute path (#​11465)
  • [jest-config] Make sure to support functions as config (#​11475)
  • [jest-core] Do not warn about DNSCHANNEL handles when using the --detectOpenHandles option (#​11470)
  • [jest-runner] Remove dependency on jest-config (#​11466)
  • [jest-worker] Loosen engine requirement to >= 10.13.0 (#​11451)

v27.0.1

Compare Source

Fixes
  • [jest-environment-jsdom] Bump version of JSDOM to avoid deprecated request package (#​11442)

v27.0.0

Compare Source

Features
  • [babel-jest] Add async transformation (#​11192)
  • [jest-changed-files] Use '--' to separate paths from revisions (#​11160)
  • [jest-circus] [BREAKING] Fail tests when multiple done() calls are made (#​10624)
  • [jest-circus, jest-jasmine2] [BREAKING] Fail the test instead of just warning when describe returns a value (#​10947)
  • [jest-config] [BREAKING] Default to Node testing environment instead of browser (JSDOM) (#​9874)
  • [jest-config] [BREAKING] Use jest-circus as default test runner (#​10686)
  • [jest-config] Add support for preset written in ESM (#​11200)
  • [jest-config, jest-runtime] Support ESM for files other than .js and .mjs (#​10823)
  • [jest-config, jest-runtime] [BREAKING] Use "modern" implementation as default for fake timers (#​10874 & #​11197)
  • [jest-config Allow passing forceNodeFilesystemAPI through to jest-haste-map (#​11264)
  • [jest-config, jest-haste-map, jest-resolve, jest-runner, jest-runtime, jest-test-sequencer, jest-transform, jest-types] [BREAKING] Add custom HasteMap class implementation config option (#​11107)
  • [jest-core] make TestWatcher extend emittery (#​10324)
  • [jest-core] Run failed tests interactively the same way we do with snapshots (#​10858)
  • [jest-core] more TestSequencer methods can be async (#​10980)
  • [jest-core] Add support for testSequencer written in ESM (#​11207)
  • [jest-core] Add support for globalSetup and globalTeardown written in ESM (#​11267)
  • [jest-core] Add support for watchPlugins written in ESM (#​11315)
  • [jest-core] Add support for runner written in ESM (#​11232)
  • [jest-core] Add support for reporters written in ESM (#​11427)
  • [jest-each] Add support for interpolation with object properties (#​11388)
  • [jest-environment-node] Add AbortController to globals (#​11182)
  • [@jest/fake-timers] Update to @sinonjs/fake-timers to v7 (#​11198)
  • [jest-haste-map] Handle injected scm clocks (#​10966)
  • [jest-haste-map] Add enableSymlinks configuration option to follow symlinks for test files (#​9351)
  • [jest-repl, jest-runner] [BREAKING] Run transforms over environment (#​8751)
  • [jest-repl] Add support for testEnvironment written in ESM (#​11232)
  • [jest-runner] [BREAKING] set exit code to 1 if test logs after teardown (#​10728)
  • [jest-runner] [BREAKING] Run transforms over runner (#​8823)
  • [jest-runner] [BREAKING] Run transforms over testRunner (#​8823)
  • [jest-runner] Possibility to use ESM for test environment (11033)
  • [jest-runner] Add support for testRunner written in ESM (#​11232)
  • [jest-runtime] Detect reexports from CJS as named exports in ESM (#​10988)
  • [jest-runtime] Support for async code transformations (#​11191 & #​11220)
  • [jest-reporters] Add static filepath property to all reporters (#​11015)
  • [jest-snapshot] [BREAKING] Make prettier optional for inline snapshots - fall back to string replacement (#​7792 & #​11192)
  • [jest-snapshot] [BREAKING] Run transforms over snapshotResolver (#​8751)
  • [jest-transform] Pass config options defined in Jest's config to transformer's process and getCacheKey functions (#​10926)
  • [jest-transform] Add support for transformers written in ESM (#​11163)
  • [jest-transform] [BREAKING] Do not export ScriptTransformer class, instead export the async function createScriptTransformer (#​11163)
  • [jest-transform] Async code transformations (#​9889)
  • [jest-transform] Support transpiled transformers (#​11193)
  • [jest-transform] [BREAKING] requireAndTranspileModule always return a Promise, and the third parameter type is changed to RequireAndTranspileModuleOptions which accept applyInteropRequireDefault option (#​11232)
  • [jest-transform] [BREAKING] createTranspilingRequire return function which return a Promise now (#​11232)
  • [jest-util] add requireOrImportModule for importing CJS or ESM (#​11199)
  • [jest-util] add applyInteropRequireDefault option on requireOrImportModule (#​11232)
  • [jest-watcher] Added support for clearing the line when <C-u> is pressed in a watch mode pattern prompt (#​11358)
  • [jest-worker] Add support for custom task queues and adds a PriorityQueue implementation. (#​10921)
  • [jest-worker] Add in-order scheduling policy to jest worker (10902)
  • [pretty-format] Better print for sparse arrays (11326)
  • [pretty-print] Add option printBasicPrototype which determines whether or not the prototype should be printed for raw objects or arrays (#​11441)
Fixes
  • [babel-plugin-jest-hoist] Add __dirname and __filename to whitelisted globals (#​10903)
  • [expect] [BREAKING] Revise expect.not.objectContaining() to be the inverse of expect.objectContaining(), as documented. (#​10708)
  • [expect] [BREAKING] Make toContain more strict with the received type (#​10119 & #​10929)
  • [expect] [BREAKING] matcherResult on JestAssertionError are now strings rather than functions (#​10989)
  • [jest-circus] Fixed the issue of beforeAll & afterAll hooks getting executed even if it is inside a skipped describe block #​10451
  • [jest-circus] Fix testLocation on Windows when using test.each (#​10871)
  • [jest-cli] Use testFailureExitCode when bailing from a failed test (#​10958)
  • [jest-cli] Print custom error if error thrown from global hooks is not an error already (#​11003)
  • [jest-cli] Allow running multiple "projects" from programmatic API (#​11307)
  • [jest-cli] Fix missing collectCoverage after init (#​11353)
  • [jest-cli, jest-config, jest-types] Move all default values into jest-config (#​9924)
  • [jest-config] [BREAKING] Change default file extension order by moving json behind ts and tsx (10572)
  • [jest-console] console.dir now respects the second argument correctly (#​10638)
  • [jest-core] Don't report PerformanceObserver as open handle (#​11123)
  • [jest-core] Use WeakRef to hold timers when detecting open handles (#​11277)
  • [jest-core] Correctly detect open handles that were created in test functions using done callbacks (#​11382)
  • [jest-core] Do not collect RANDOMBYTESREQUEST as open handles (#​11278)
  • [jest-core] Wait briefly for open handles to close before flagging them when using --detectOpenHandles (#​11429)
  • [jest-diff] [BREAKING] Use only named exports (#​11371)
  • [jest-each] [BREAKING] Ignore excess words in headings (#​8766)
  • [jest-each] Support array index with template strings (#​10763)
  • [jest-each] Interpolate %% correctly (#​11364)
  • [jest-each] Fix wrong interpolation when the value of array contains multiple % (#​11364)
  • [jest-environment] [BREAKING] Drop support for runScript for test environments (#​11155)
  • [jest-environment-jsdom] Use inner realm’s ArrayBuffer constructor (#​10885)
  • [jest-environment-jsdom] [BREAKING] Remove Node globals setImmediate and clearImmediate #​11222
  • [jest-get-type] [BREAKING] Convert to ES Module (#​11359)
  • [jest-globals] [BREAKING] Disallow return values other than a Promise from hooks and tests (#​10512)
  • [jest-globals] [BREAKING] Disallow mixing a done callback and returning a Promise from hooks and tests (#​10512)
  • [jest-haste-map] Vendor NodeWatcher from sane (#​10919)
  • [jest-jasmine2] Fixed the issue of beforeAll & afterAll hooks getting executed even if it is inside a skipped describe block when it has child tests marked as either only or todo #​10451
  • [jest-jasmine2] Fixed the issues of child tests marked with only or todo getting executed even if it is inside a skipped parent describe block #​10451
  • [jest-jasmine2] Wrap all test functions so they open handles that were created in test functions using done callbacks can be detected (#​11382)
  • [jest-reporter] Handle empty files when reporting code coverage with V8 (#​10819)
  • [jest-resolve] Replace read-pkg-up with escalade package (#​10781)
  • [jest-resolve] Disable jest-pnp-resolver for Yarn 2 (#​10847)
  • [jest-runtime] [BREAKING] Do not inject global variable into module wrapper (#​10644)
  • [jest-runtime] [BREAKING] remove long-deprecated jest.addMatchers, jest.resetModuleRegistry, and jest.runTimersToTime (#​9853)
  • [jest-runtime] Fix stack overflow and promise deadlock when importing mutual dependant ES module (#​10892)
  • [jest-runtime] Prevent global module registry from leaking into isolateModules registry (#​10963)
  • [jest-runtime] Refactor to prevent race condition when linking and evaluating ES Modules (#​11150)
  • [jest-runtime] Throw correct error when attempting to load ESM via require (#​11260)
  • [jest-runtime] Do not cache modules that throw during evaluation (#​11263)
  • [jest-transform] Show enhanced SyntaxError message for all SyntaxErrors (#​10749)
  • [jest-transform] [BREAKING] Refactor API to pass an options bag around rather than multiple boolean options (#​10753)
  • [jest-transform] [BREAKING] Refactor API of transformers to pass an options bag rather than separate config and other options (#​10834)
  • [jest-types] Fix Config.ts projects types (#​11285)
  • [jest-util] Replace micromatch with picomatch to fix issues with negated globs (#​11287)
  • [jest-validate] Use en-US locale to avoid case conversion problems while validating CLI options on machines with some certain locales(e.g. Turkish) set as default locale. (#​11412)
  • [jest-worker] [BREAKING] Use named exports (#​10623)
  • [jest-worker] Do not swallow errors during serialization (#​10984)
  • [jest-worker] Handle ERR_IPC_CHANNEL_CLOSED errors properly (#​11143)
  • [pretty-format] [BREAKING] Convert to ES Modules (#​10515)
  • [pretty-format] Only call hasAttribute if it's a function (#​11000)
  • [pretty-format] Handle jsdom attributes properly (#​11189)
  • [pretty-format] Import pretty-format using named imports (#​11360)
Chore & Maintenance
  • [*] [BREAKING] Only support Node LTS releases and Node 15 (#​10685)
  • [*] [BREAKING] Add exports field to all package.jsons (#​9921)
  • [*] Make it easier for Jest's packages to use the VM escape hatch (#​10824)
  • [*] [BREAKING] Remove deprecated mapCoverage (#​9968)
  • [babel-jest] [BREAKING] Migrate to ESM (#​11193)
  • [docs] Correct example using browser-resolve (#​11140)
  • [docs] Clarify timers configuration property (#​11376)
  • [jest, jest-core] [BREAKING] Replace TestScheduler export with createTestScheduler (#​11427)
  • [jest-config] [BREAKING] Remove enabledTestsMap config, use filter instead (#​10787)
  • [jest-console] [BREAKING] Move root into config and take GlobalConfig as mandatory parameter for getConsoleOutput (#​10126)
  • [jest-console] Export LogEntry (#​11017)
  • [jest-fake-timers] Clarify global behavior of jest.useFakeTimers and jest.useRealTimers (#​10867)
  • [jest-haste-map] [BREAKING] Migrate to ESM (#​10875)
  • [jest-haste-map] [BREAKING] Remove support for deprecated option ignorePattern as function (#​10348)
  • [jest-jasmine2] [BREAKING] Migrate to ESM (#​10906)
  • [jest-jasmine2] [BREAKING] Remove unused options argument from Env constructor (#​10240)
  • [jest-repl, jest-runtime] [BREAKING] Move the jest-runtime CLI into jest-repl (#​10016 & #​10925)
  • [jest-resolve] [BREAKING] Migrate to ESM (#​10688)
  • [jest-resolve-dependencies] [BREAKING] Migrate to ESM (#​10876)
  • [jest-mock] [BREAKING] Migrate to ESM (#​10887)
  • [jest-reporters] [BREAKING] Make node-notifier a peer dependency (#​10977)
  • [jest-resolve, jest-runtime] [BREAKING] Use Maps instead of objects for all cached resources (#​10968)
  • [jest-runner] [BREAKING] Migrate to ESM (#​10900)
  • [jest-runtime] [BREAKING] Remove deprecated and unused getSourceMapInfo from Runtime (#​9969)
  • [jest-transformer] [BREAKING] Remove unused isCoreModule option (#​11166)
  • [jest-util] No longer checking enumerable when adding process.domain (#​10862)
  • [jest-validate] [BREAKING] Remove recursiveBlacklist option in favor of previously introduced recursiveDenylist (#​10650)
  • [website] Replace 'Github' with 'GitHub' (#​11279)
  • [website] Remove a language code from the link to the Node.js website (#​11282)
  • [website] Remove a duplicated word (#​11281)
  • [website] Add french to website (#​11361)
Performance
  • [jest-resolve] Cache reading and parsing of package.jsons (#​11076)
  • [jest-runtime, jest-transform] share cacheFS between runtime and transformer (#​10901)
  • [jest-runtime] Load chalk only once per worker (#​10864)
  • [jest-worker] Fix memory leak of previous task arguments while no new task is scheduled (#​11187)

v26.6.3

Compare Source

Fixes
  • [jest-resolve-dependencies] Continue dependency resolution if mock dependency can't be found (#​10779)

v26.6.2

Compare Source

Features
  • [jest-core] Add findRelatedTests and nonFlagArgs in allowed config options for updateConfigAndRun in watch plugins (#​10659)
Fixes
  • [babel-plugin-jest-hoist] Preserve order of hoisted mock nodes within containing block (#​10536)
  • [babel-plugin-jest-hoist] Hoist pure constants to support experimental JSX transform in hoisted mocks (#​10723)
  • [babel-preset-jest] Update babel-preset-current-node-syntax to support top level await (#​10747)
  • [expect] Revert "Fix objectContaining to work recursively into sub-objects (#​10508)" (#​10766)
  • [jest-circus, jest-jasmine2] fix: don't assume stack is always a string (#​10697)
  • [jest-config] Fix bug introduced in watch mode by PR #​10678 (#​10692)
  • [jest-config] Throw correct error for missing preset modules (#​10737)
  • [jest-resolve-dependencies] Resolve mocks as dependencies (#​10713)
  • [jest-runtime] Handle file URLs in dynamic imports (#​10744)
  • [jest-runtime, babel-jest] Pass more ESM options to @jest/transform (#​10752)
  • [jest-runtime] Properly inject extraGlobals into the runtime (#​10758)
  • [jest-transform] Link to ESM docs on syntax errors (#​10748)
Chore & Maintenance
  • [docs] Add docs for using mocks in TypeScript (#​10415)
  • [eslint-config-fb-strict] Move package from this repo to fbjs repo (#​10739)
  • [examples] Update TypeScript example to show use of newer Jest types (#​10399)
  • [jest-cli] chore: standardize files and folder names (#​10698)
  • [jest-config] Switch ts-node Register type to Service due to deprecation (#​11210)

v26.6.1

Compare Source

Features
  • [jest-runtime] Support named exports from CommonJS as named ES Module imports (#​10673)
  • [jest-validate] Add support for recursiveDenylist option as an alternative to recursiveBlacklist (#​10236)
Fixes
  • [expect] Fix objectContaining to work recursively into sub-objects (#​10508)
  • [jest-cli, jest-core, jest-config, jest-types] Fix --onlyFailures flag to work in non-watch mode (#​10678)
  • [jest-config] Fix for the jest.config.ts compiler to not interfere with tsconfig.json files (#​10675)
  • [jest-message-util] Update to work properly with Node 15 (#​10660)
  • [jest-mock] Allow to mock methods in getters (TypeScript 3.9 export) (#​10156)

v26.6.0

Compare Source

Features
  • [jest-cli, jest-config] Add support for the jest.config.ts configuration file (#​10564)
Fixes
  • [jest-config] Simplify transform RegExp (#​10207)
  • [jest-fake-timers] Lazily instantiate mock timers (#​10551)
  • [jest-runtime] require.main is no longer undefined when using jest.resetModules (#​10626)
  • [@jest/types] Add missing values for timers (#​10632)
Chore & Maintenance
  • [docs] Add step for fetching backers.json file in website setup docs (#​10631)
  • [docs] Add page detailing environment variables set by Jest (#​10630)
  • [jest-circus] Refactor callAsyncCircusFn parameters (#​10629)

v26.5.3

Compare Source

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)

v26.5.2

Compare Source

Fixes
  • [*] Revert usage of Escalade and rollback Yargs to v15 as it breaks Node 13 (#​10599)
  • [jest-circus] Setup globals before emitting setup, and include Jest globals in the setup payload (#​10598)
  • [jest-mock] Fix typings for mockResolvedValue, mockResolvedValueOnce, mockRejectedValue and mockRejectedValueOnce (#​10600)

v26.5.0

Compare Source

Features
  • [jest-circus, jest-config, jest-runtime] Add new injectGlobals config and CLI option to disable injecting global variables into the runtime (#​10484)
  • [jest-each] Fixes .each type to always be callable (#​10447)
  • [jest-runner] Add support for moduleLoaders with default exports (#​10541)
  • [@jest/create-cache-key-function] Added a new package for creating cache keys (#​10587)
Fixes
  • [jest-circus, jest-jasmine2] Find correct location for test.each tests (#​10413)
  • [jest-console] Add Console constructor to console object (#​10502)
  • [jest-globals] Fix lifecycle hook function types (#​10480)
  • [jest-runtime] Remove usage of vm.compileFunction due to a performance issue (#​10586)
Chore & Maintenance
  • [jest-resolve] Replace read-pkg-up with escalade package (10558)
  • [jest-environment-jsdom] Update jsdom to 16.4.0 (10578)

v26.4.2

Compare Source

Fixes
  • [expect] Fix toMatchObject to work with inherited class getters (#​10381)
  • [pretty-format] Lower minimum node version to >= 10 (#​10435)

v26.4.1

Compare Source

Fixes
  • [jest-core] Don't report ELDHistogram as open handle (#​10417)
  • [jest-matcher-utils] Fix diffing object contain readonly symbol key object (#​10414)
  • [jest-reporters] Fixes notify reporter on Linux (using notify-send) (#​10393)
  • [jest-snapshot] Correctly handles arrays and property matchers in snapshots (#​10404)

v26.4.0

Compare Source

Features
  • [jest-resolve] Add support for packageFilter on custom resolver (#​10393)
Fixes
  • [pretty-format] Handle tagName not being a string (#​10397)

v26.3.0

Compare Source

Features
  • [jest-circus, jest-jasmine2] Include failureDetails property in test results (#​9496)
  • [jest-each, jest-jasmine, jest-circus] Add support for .concurrent.each (#​9326)
Fixes
  • [jest-config] Add .pnp.js to transformIgnorePatterns defaults (#​10383)
  • [jest-leak-detector] Wait properly for GC runs due to changes in Node 14.7 (#​10366)
  • [jest-worker] Downgrade minimum node version to 10.13 (#​10352)
  • [docs] Update snapshot testing documentation(#​10359)

v26.2.2

Compare Source

Fixes
  • [jest-cli] Use correct file name to override existing jest config on init (#​10337)
  • [jest-haste-map] Properly detect support for native find (#​10346)

v26.2.1

Compare Source

Fixes
  • [jest-worker] Make sure to work with Node TS typings v12 (#​10336)

v26.2.0

Compare Source

Features
  • [jest-core, jest-circus, jest-reporter, jest-runner] Added support for reporting individual test cases using jest-circus (#​10227)
  • [jest-config, jest-reporter, jest-runner, jest-test-sequencer] Add slowTestThreshold configuration option (#​9366)
  • [jest-haste-map] Watchman crawler now includes dotfiles (#​10075)
  • [jest-worker] Added support for workers to send custom messages to parent in jest-worker (#​10293)
  • [jest-worker] Support passing resourceLimits (#​10335)
  • [pretty-format] Added support for serializing custom elements (web components) (#​10217)
Fixes
  • [expect] Match symbols and bigints in any() (#​10223)
  • [jest-changed-files] Use git diff instead of git log for --changedSince (#​10155)
  • [jest-console] Add missing console.timeLog for compatibility with Node (#​10209)
  • [jest-haste-map] Check find binary supports the -iname parameter (#​10308)
  • [jest-snapshot] Strip added indentation for inline error snapshots (#​10217)
Chore & Maintenance

v26.1.0

Compare Source

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)
  • [docs] Added parcel-bundler documentation inside readme.md file
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)
jest-community/jest-junit

v12.2.0

Compare Source

Bump uuid to the latest version

v12.1.0

Compare Source

Add better support for bazel - jest-community/jest-junit#167

v12.0.0

Compare Source

Support reporting test suites unable to run due to uncaught errors (or no tests at all) by @​SamTheisens jest-community/jest-junit#144

Fix the sequential location of system-out to be compatible with jenkins xsd by @​palmerj3 jest-community/jest-junit#146

v11.1.0

Compare Source

Added suitename support to classNameTemplate by @​dtom90 jest-community/jest-junit#138

v11.0.1

Compare Source

Removes testResultsProcessor warning message (jest-community/jest-junit#131)
Updates jest and jest-validate dependencies (jest-community/jest-junit#131)

v11.0.0

Compare Source

Added support for testsuite properties

Removed node < 10.12.0 support.
Removed jest < 26 support.

jest-community/jest-junit#129

thymikee/jest-preset-angular

v9.0.3

Compare Source

Bug Fixes
  • add missing @angular/platform-browser-dynamic to peer dep (c1729e4)

v9.0.2

Compare Source

Bug Fixes

v9.0.1

Compare Source

Bug Fixes

v9.0.0

Compare Source

Bug Fixes
Features
Performance Improvements
  • compiler: reuse cacheFS from jest to reduce file system reading (#​679) (f5d9d4b)
  • config: set skipLibCheck: true if not defined in tsconfig (#​678) (0df3ce1)

BREAKING CHANGES

  • Drop support for Angular < 9.0, see https://angular.io/guide/releases#support-policy-and-schedule.
  • Drop support for Node.js version 10 since it becomes EOL on 2021-04-30. Required Node version now is >=12.13.0.
  • Require Jest 27.
  • Users who are using import 'jest-preset-angular' should change to import 'jest-preset-angular/setup-jest'
  • transformers: The AST transformers InlineFilesTransformer and StripStylesTransformer are REMOVED and
    default jest-preset-angular uses AST transformers from @angular/compiler-cli and @ngtools/webpack.
    One should remove the old transformers from the jest config.
  • compiler: jest-preset-angular now switches to default to use its own transformer which wraps around ts-jest to transform codes.

Users who are currently doing in jest config

// jest.config.js
module.exports = {
    // [...]
    transform: {
      '^.+\\.(ts|js|html)

📅 Schedule: "every weekend" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.: 'ts-jest',
},
}

should change to

// jest.config.js
module.exports = {
    // [...]
    transform: {
      '^.+\\.(ts|js|html)

📅 Schedule: "every weekend" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.: 'jest-preset-angular',
},
}

  • serializers:: snapshot serializer paths have been changed:
    • 'jest-preset-angular/build/AngularNoNgAttributesSnapshotSerializer.js' is changed to 'jest-preset-angular/build/serializers/no-ng-attributes.
    • 'jest-preset-angular/build/AngularSnapshotSerializer.js' is changed to 'jest-preset-angular/build/serializers/ng-snapshot.
    • 'jest-preset-angular/build/HTMLCommentSerializer.js' is changed to 'jest-preset-angular/build/serializers/html-comment.
  • When generating a new project from Angular CLI, by default the tsconfig.json doesn't contain any path mappings
    hence removing moduleNameMapper from preset will make sure that the preset works in pair with tsconfig.json.
    Ones who are relying on the value of moduleNameMapper from the preset should create their own moduleNameMapper
    config manually or via ts-jest util https://kulshekhar.github.io/ts-jest/docs/getting-started/paths-mapping.

If you wish to reuse the old configuration of moduleNameMapper, you can put this into your Jest config

moduleNameMapper: {
  '^src/(.*)

📅 Schedule: "every weekend" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.: '/src/$1',
'^app/(.*)

📅 Schedule: "every weekend" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.: '/src/app/$1',
'^assets/(.*)

📅 Schedule: "every weekend" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.: '/src/assets/$1',
'^environments/(.*)

📅 Schedule: "every weekend" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.: '/src/environments/$1',
}

  • By default, if skipLibCheck is not defined in tsconfig, jest-preset-angular will set it to true. If one wants to have it as false, one can set explicitly in tsconfig.
  • compiler: jest-preset-angular now switches to default to use its own transformer which wraps around ts-jest to transform codes.

Users who are currently doing in jest config

// jest.config.js
module.exports = {
    // [...]
    transform: {
      '^.+\\.(ts|js|html)

📅 Schedule: "every weekend" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.: 'ts-jest',
},
}

should change to

// jest.config.js
module.exports = {
    // [...]
    transform: {
      '^.+\\.(ts|js|html)

📅 Schedule: "every weekend" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.: 'jest-preset-angular',
},
}

v8.4.0

Compare Source

Features
DEPRECATIONS
  • Import serializer via 'jest-preset-angular/build/AngularNoNgAttributesSnapshotSerializer.js' is deprecated in favor of 'jest-preset-angular/build/serializers/no-ng-attributes'
  • Import serializer via 'jest-preset-angular/build/AngularSnapshotSerializer.js' is deprecated in favor of 'jest-preset-angular/build/serializers/ng-snapshot'
  • Import serializer via 'jest-preset-angular/build/HTMLCommentSerializer.js' is deprecated in favor of 'jest-preset-angular/build/serializers/html-comment'
  • Import setup file via import 'jest-preset-angular' is deprecated in favor of import 'jest-preset-angular/setup-jest'

v8.3.2

Compare Source

Chores
  • config: switch to tsconfig for jest-preset.js

v8.3.1

Compare Source

Bug Fixes
  • Correct wrong published content in v8.3.0

v8.3.0

Compare Source

Features
Bug Fixes

8.2.1 (2020-06-19)

Features

[v8.2.1](https:/


Configuration

📅 Schedule: "every weekend" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@codecov
Copy link

codecov bot commented Aug 1, 2020

Codecov Report

Merging #556 (48de1c0) into release (ef9b3c3) will not change coverage.
The diff coverage is n/a.

❗ Current head 48de1c0 differs from pull request most recent head 78aef76. Consider uploading reports for the commit 78aef76 to get more accurate results
Impacted file tree graph

@@           Coverage Diff            @@
##           release     #556   +/-   ##
========================================
  Coverage    91.13%   91.13%           
========================================
  Files           39       39           
  Lines          485      485           
  Branches        89       89           
========================================
  Hits           442      442           
  Misses          43       43           
Flag Coverage Δ
browser 100.00% <ø> (ø)
coercion ∅ <ø> (∅)
jwt 88.16% <ø> (ø)
keycodes ∅ <ø> (∅)
regex ∅ <ø> (∅)
testing ∅ <ø> (∅)
type-guards 98.00% <ø> (ø)
utilities ∅ <ø> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ef9b3c3...78aef76. Read the comment docs.

@renovate renovate bot force-pushed the renovate/major-jest-packages branch from ae150b7 to b2f2ed4 Compare August 6, 2020 00:31
@renovate renovate bot force-pushed the renovate/major-jest-packages branch from b2f2ed4 to 823255c Compare August 14, 2020 23:58
@renovate renovate bot force-pushed the renovate/major-jest-packages branch 3 times, most recently from f4671a9 to fd967e6 Compare September 2, 2020 17:35
@renovate renovate bot force-pushed the renovate/major-jest-packages branch from fd967e6 to 3fe1b93 Compare September 16, 2020 16:00
@renovate renovate bot force-pushed the renovate/major-jest-packages branch from 3fe1b93 to 8c742be Compare October 28, 2020 06:01
@github-actions github-actions bot added Size: L and removed Size: M labels Oct 28, 2020
@renovate renovate bot force-pushed the renovate/major-jest-packages branch from 8c742be to e5c7c0c Compare December 11, 2020 14:00
@renovate renovate bot force-pushed the renovate/major-jest-packages branch from e5c7c0c to 4b74888 Compare January 9, 2021 22:59
@renovate renovate bot force-pushed the renovate/major-jest-packages branch from 4b74888 to 48de1c0 Compare April 26, 2021 16:03
@renovate renovate bot force-pushed the renovate/major-jest-packages branch from 48de1c0 to 761c603 Compare June 6, 2021 21:58
@github-actions github-actions bot added Size: XL and removed Size: L labels Jun 6, 2021
@renovate renovate bot force-pushed the renovate/major-jest-packages branch from 761c603 to 78aef76 Compare June 12, 2021 21:12
@renovate
Copy link
Contributor Author

renovate bot commented Mar 24, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant