Skip to content

⬆️ Bump expect from 26.1.0 to 26.2.0#8

Merged
wwilsman merged 1 commit intomasterfrom
dependabot/npm_and_yarn/expect-26.2.0
Aug 3, 2020
Merged

⬆️ Bump expect from 26.1.0 to 26.2.0#8
wwilsman merged 1 commit intomasterfrom
dependabot/npm_and_yarn/expect-26.2.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Aug 3, 2020

Bumps expect from 26.1.0 to 26.2.0.

Release notes

Sourced from expect's releases.

26.2.0

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

  • [*] Add missing dependency on @types/node (#10248)
  • [jest-jasmine2] Convert PCancelable to TypeScript (#10215)
  • [jest-jasmine2] Refine typings of queueRunner (#10215)
  • [jest-jasmine2] Remove usage of Function type (#10216)
  • [jest-resolve] Improve types (#10239)
  • [docs] Clarify the jest.requireActual(moduleName) example
  • [jest-types] Refine typings of coverageReporters (#10275)
Changelog

Sourced from expect's changelog.

26.2.0

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

  • [*] Add missing dependency on @types/node (#10248)
  • [jest-jasmine2] Convert PCancelable to TypeScript (#10215)
  • [jest-jasmine2] Refine typings of queueRunner (#10215)
  • [jest-jasmine2] Remove usage of Function type (#10216)
  • [jest-resolve] Improve types (#10239)
  • [docs] Clarify the jest.requireActual(moduleName) example
  • [jest-types] Refine typings of coverageReporters (#10275)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added the ⬆️⬇️ dependencies Pull requests that update a dependency file label Aug 3, 2020
@wwilsman wwilsman changed the title Bump expect from 26.1.0 to 26.2.0 ⬆️ Bump expect from 26.1.0 to 26.2.0 Aug 3, 2020
@wwilsman wwilsman merged commit 6e241ff into master Aug 3, 2020
@wwilsman wwilsman deleted the dependabot/npm_and_yarn/expect-26.2.0 branch August 3, 2020 17:26
pranavz28 added a commit that referenced this pull request Apr 22, 2026
… egress, effective cap)

Addresses items 1-8 from PR #2192 review.

Must-fix:
  #1 discovery.js: always increment unsetModeBytes; only gate the warn-log
     emission on warningFired. Previously the byte counter froze at the
     threshold crossing so cache_summary.peak_bytes misreported every
     Map-mode run that hit the threshold.
  #2 byte-lru.js: reorder ByteLRU.set — reject oversize BEFORE touching
     any existing entry. Fixes a failed oversize re-set silently evicting
     the prior (valid) value for the same key.

Should-fix:
  #3 percy.js: move sendCacheSummary AFTER sendBuildLogs in stop()'s
     finally. A slow/stalled pager hop on the analytics event can no
     longer delay the primary log egress.
  #4 discovery.js: do not mutate percy.config.discovery.maxCacheRam on
     clamp. Store effectiveMaxCacheRamMB on CACHE_STATS_KEY; percy.js
     sendCacheSummary reads it from there. User config stays read-only.

Nits:
  #5 discovery.js: read PERCY_CACHE_WARN_THRESHOLD_BYTES once at queue
     construction instead of on every saveResource.
  #6 discovery.test.js: use 'instanceof ByteLRU' (imported) instead of
     string match on constructor.name.
  #7 discovery.js: emit a debug log when PERCY_CACHE_WARN_THRESHOLD_BYTES
     override is active, so support can spot misconfigured overrides.
  #8 README: note decimal MB (1,000,000 bytes) vs binary MiB.

Coverage fill-in (closes gaps visible in earlier nyc run):
  * byte-lru.test.js: .clear(), oversize re-set regression, onEvict
    reason='too-big' path.
  * discovery.test.js:
    - --max-cache-ram between 25 and 50 MB warns without clamping.
    - PERCY_CACHE_WARN_THRESHOLD_BYTES override emits debug log.
    - cache_eviction_started info log fires when LRU evicts.
    - unsetModeBytes keeps growing post-warningFired (regression for #1).
    - sendCacheSummary swallows client rejections without throwing.
    - sendCacheSummary short-circuits when build / cache / stats missing.

Tests: 19 unit specs (byte-lru) + 13 integration specs (discovery). Lint
clean. Built dist/ regenerated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⬆️⬇️ dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant