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: d5f21b3b8487a0aae9ba1be8ee5b62893adb7b3a
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: 7921e4a0a9e21e419122951eb28ed270c13209c5
Choose a head ref
  • 17 commits
  • 18 files changed
  • 8 contributors

Commits on Nov 25, 2019

  1. docs: Update examples using document.querySelector (#168)

    Juan Pablo Blanco authored and gnapse committed Nov 25, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8e14dc1 View commit details

Commits on Dec 18, 2019

  1. Add jest extensions on main module (#175)

    BREAKING CHANGE
    gnapse authored Dec 18, 2019
    Copy the full SHA
    27c1056 View commit details

Commits on Jan 16, 2020

  1. Remove extend-expect typings (#182)

    BREAKING CHANGE: moving typings to @types/testing-library__jest-dom
    jgoz authored and gnapse committed Jan 16, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c76f8c5 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d68ccd7 View commit details

Commits on Jan 17, 2020

  1. Merge pull request #183 from testing-library/next

    Preparing for types being provided via DefinitelyTyped
    jgoz authored Jan 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    760409a View commit details

Commits on Jan 20, 2020

  1. docs: Remove lines about using fireEvent to gain focus or blur (#187)

    Jānis Zaržeckis authored and gnapse committed Jan 20, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c919520 View commit details
  2. docs: Tiny typo (#181)

    Co-authored-by: Ernesto García <gnapse@gmail.com>
    koala-lava and gnapse committed Jan 20, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d13bb90 View commit details

Commits on Jan 22, 2020

  1. fix: Add @types/testing-library__jest-dom dependency (#189)

    Fixes #123
    Closes #160
    Fixes #185
    jgoz authored and gnapse committed Jan 22, 2020
    Copy the full SHA
    030da62 View commit details
  2. Simplify README code usage examples (#188)

    - Removes duplicating examples to show use with both native and @testing-library APIs
    - Remove usage of query functions that need to receive the container argument
    - Prefer to use `getByTestId` whenever possible
    gnapse authored Jan 22, 2020
    Copy the full SHA
    d87dfee View commit details
  3. Copy the full SHA
    e4d61c2 View commit details

Commits on Jan 24, 2020

  1. chore: Update dependencies (#190)

    MichaelDeBoey authored and gnapse committed Jan 24, 2020
    Copy the full SHA
    c9a8664 View commit details
  2. docs: add MichaelDeBoey as a contributor (#191)

    * docs: update README.md [skip ci]
    
    * docs: update .all-contributorsrc [skip ci]
    allcontributors[bot] authored and gnapse committed Jan 24, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0d60a25 View commit details
  3. docs: add jzarzeckis as a contributor (#192)

    * docs: update README.md [skip ci]
    
    * docs: update .all-contributorsrc [skip ci]
    
    Co-authored-by: Ernesto García <gnapse@gmail.com>
    allcontributors[bot] and gnapse committed Jan 24, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5f3f9c7 View commit details
  4. docs: add koala-lava as a contributor (#193)

    * docs: update README.md [skip ci]
    
    * docs: update .all-contributorsrc [skip ci]
    allcontributors[bot] authored and gnapse committed Jan 24, 2020
    Copy the full SHA
    69aee34 View commit details
  5. docs: add JPBlancoDB as a contributor (#194)

    * docs: update README.md [skip ci]
    
    * docs: update .all-contributorsrc [skip ci]
    allcontributors[bot] authored and gnapse committed Jan 24, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a053cdd View commit details
  6. docs: add benmonro as a contributor (#195)

    * docs: update README.md [skip ci]
    
    * docs: update .all-contributorsrc [skip ci]
    allcontributors[bot] authored and gnapse committed Jan 24, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3b3a3d3 View commit details

Commits on Jan 31, 2020

  1. Copy the full SHA
    7921e4a View commit details
Showing with 581 additions and 513 deletions.
  1. +47 −1 .all-contributorsrc
  2. +0 −11 .prettierrc
  3. +1 −0 .prettierrc.js
  4. +7 −6 .travis.yml
  5. +121 −367 README.md
  6. +0 −29 extend-expect.d.ts
  7. +1 −0 matchers.js
  8. +16 −16 package.json
  9. +244 −32 src/__tests__/to-be-visible.js
  10. +24 −0 src/__tests__/to-have-style.js
  11. +45 −2 src/__tests__/utils.js
  12. +1 −1 src/extend-expect.js
  13. +1 −39 src/index.js
  14. +39 −0 src/matchers.js
  15. +2 −1 src/to-be-invalid.js
  16. +12 −3 src/to-be-visible.js
  17. +13 −5 src/to-have-style.js
  18. +7 −0 src/utils.js
48 changes: 47 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -327,8 +327,54 @@
"contributions": [
"test"
]
},
{
"login": "MichaelDeBoey",
"name": "Michaël De Boey",
"avatar_url": "https://avatars3.githubusercontent.com/u/6643991?v=4",
"profile": "https://michaeldeboey.be",
"contributions": [
"infra"
]
},
{
"login": "jzarzeckis",
"name": "Jānis Zaržeckis",
"avatar_url": "https://avatars3.githubusercontent.com/u/919350?v=4",
"profile": "https://github.com/jzarzeckis",
"contributions": [
"doc"
]
},
{
"login": "koala-lava",
"name": "koala-lava",
"avatar_url": "https://avatars0.githubusercontent.com/u/15828770?v=4",
"profile": "https://github.com/koala-lava",
"contributions": [
"doc"
]
},
{
"login": "JPBlancoDB",
"name": "Juan Pablo Blanco",
"avatar_url": "https://avatars1.githubusercontent.com/u/16567863?v=4",
"profile": "https://jpblanco.dev",
"contributions": [
"doc"
]
},
{
"login": "benmonro",
"name": "Ben Monro",
"avatar_url": "https://avatars3.githubusercontent.com/u/399236?v=4",
"profile": "https://github.com/benmonro",
"contributions": [
"doc"
]
}
],
"repoHost": "https://github.com",
"contributorsPerLine": 7
"contributorsPerLine": 7,
"skipCi": true
}
11 changes: 0 additions & 11 deletions .prettierrc

This file was deleted.

1 change: 1 addition & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('kcd-scripts/prettier')
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
sudo: false
language: node_js
env:
- FORCE_COLOR=true
cache:
directories:
- ~/.npm
cache: npm
notifications:
email: false
node_js: '8'
node_js:
- 10.14
- 12
- node
install: npm install
script: npm run validate
after_success: kcd-scripts travis-after-success
branches:
only: master
only:
- master
Loading