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/react-testing-library
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v12.1.4
Choose a base ref
...
head repository: testing-library/react-testing-library
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v12.1.5
Choose a head ref
  • 3 commits
  • 3 files changed
  • 1 contributor

Commits on Mar 19, 2022

  1. Verified

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

Commits on Apr 11, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9e2b5db 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
    646129b View commit details
Showing with 9 additions and 6 deletions.
  1. +1 −0 .codesandbox/ci.json
  2. +4 −3 .github/workflows/validate.yml
  3. +4 −3 package.json
1 change: 1 addition & 0 deletions .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"installCommand": "install:csb",
"sandboxes": ["new", "github/kentcdodds/react-testing-library-examples"],
"node": "12"
}
7 changes: 4 additions & 3 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,9 @@ name: validate
on:
push:
branches:
- '+([0-9])?(.{+([0-9]),x}).x'
# Match SemVer major release branches
# e.g. "12.x" or "8.x"
- '[0-9]+.x'
- 'main'
- 'next'
- 'next-major'
@@ -58,8 +60,7 @@ jobs:
runs-on: ubuntu-latest
if:
${{ github.repository == 'testing-library/react-testing-library' &&
contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha',
github.ref) && github.event_name == 'push' }}
github.event_name == 'push' }}
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.0
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@
"build:bundle:pure": "dotenv -e .bundle.main.env -e .bundle.pure.env kcd-scripts build -- --bundle --no-clean",
"build:main": "kcd-scripts build --no-clean",
"format": "kcd-scripts format",
"install:csb": "npm install",
"lint": "kcd-scripts lint",
"setup": "npm install && npm run validate -s",
"test": "kcd-scripts test",
@@ -46,7 +47,7 @@
"dependencies": {
"@babel/runtime": "^7.12.5",
"@testing-library/dom": "^8.0.0",
"@types/react-dom": "*"
"@types/react-dom": "<18.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.11.6",
@@ -59,8 +60,8 @@
"typescript": "^4.1.2"
},
"peerDependencies": {
"react": "*",
"react-dom": "*"
"react": "<18.0.0",
"react-dom": "<18.0.0"
},
"eslintConfig": {
"extends": "./node_modules/kcd-scripts/eslint.js",