Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: testing-library/jest-dom
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.17.0
Choose a base ref
...
head repository: testing-library/jest-dom
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.1.4
Choose a head ref
  • 9 commits
  • 36 files changed
  • 7 contributors

Commits on Aug 13, 2023

  1. feat: local types, supporting jest, @jest/globals, vitest (#511)

    * feat!: local types, supporting jest, @jest/globals, vitest
    
    Moves matcher types back into this package and adds support for
    @jest/globals and vitest.
    
    BREAKING CHANGE: Removes the extend-expect script. Users should use
    the default import path or one of the new test platform-specific
    paths to automatically extend the appropriate "expect" instance.
    
    extend-expect was not documented in the Readme, so this change should
    have minimal impact.
    
    Users can now use the following import paths to automatically extend
    "expect" for their chosen test platform:
    
    - @testing-library/jest-dom - jest (@types/jest)
    - @testing-library/jest-dom/jest-globals - @jest/globals
    - @testing-library/jest-dom/vitest - vitest
    
    For example:
    
    import '@testing-library/jest-dom/jest-globals'
    
    Importing from one of the above paths will augment the appropriate
    matcher interface for the given test platform, assuming the import
    is done in a .ts file that is included in the user's tsconfig.json.
    
    It's also (still) possible to import the matchers directly without
    side effects:
    
    import * as matchers from '@testing-library/jest-dom/matchers'
    
    * Update kcd-scripts
    
    BREAKING CHANGE: Drop node < 14
    jgoz authored Aug 13, 2023
    Configuration menu
    Copy the full SHA
    4b764b9 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. fix: matchers type is making the global expect unsafe (#513)

    * fix: matchers type is making the global expect unsafe
    
    * Add test file for TypeScript typings
    
    * Remove jest specifics from matchers.d.ts
    
    * Type tests for all test environments
    
    * Fix all AsymmetricMatcher interfaces
    
    * Ignore type tests from eslint
    
    ---------
    
    Co-authored-by: Michael Manzinger <michael.manzinger@mobilex.eu>
    Co-authored-by: John Gozde <john@gozde.ca>
    3 people authored Aug 18, 2023
    Configuration menu
    Copy the full SHA
    bdb34f1 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. chore: Publish ESM and CJS (#519)

    * Add rollup config
    
    * Sort dependencies in package.json
    
    * Clean output folder before build
    
    * Use relative paths for entries
    
    * Convert cjs to esm if needed
    
    * Add extensions to lodash imports
    
    To support node16 resolution
    
    * Ignore coverage for vitest and jest-globals
    IanVS authored Aug 22, 2023
    Configuration menu
    Copy the full SHA
    61d17bd View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. Configuration menu
    Copy the full SHA
    3d834bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    853a3e5 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Configuration menu
    Copy the full SHA
    b959a68 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Configuration menu
    Copy the full SHA
    5b492ac View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Configuration menu
    Copy the full SHA
    6d65999 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Configuration menu
    Copy the full SHA
    44f1eab View commit details
    Browse the repository at this point in the history
Loading