From e54546f49b671901d0313e5c20dd5adaa61c3bfd Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sat, 20 Apr 2024 08:28:30 +1200 Subject: [PATCH] fix: allow `testing-library/dom` v10 --- .github/workflows/validate.yml | 6 +++++- package.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index fe2a1a8..57adbe0 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -24,10 +24,14 @@ jobs: matrix: eslint: [6.8.0, 6, 7.0.0, 7, 8.0.0, 8] node: [12.x, 14.x, 16.x, 18.x, 20.x, 21.x] - testing-library-dom: [8, 9] + testing-library-dom: [8, 9, 10] exclude: - node: 12.x testing-library-dom: 9 + - node: 14.x + testing-library-dom: 10 + - node: 16.x + testing-library-dom: 10 runs-on: ubuntu-latest steps: - name: ⬇️ Checkout repo diff --git a/package.json b/package.json index 4e81bf8..c92e1fd 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "typescript": "^5.1.3" }, "peerDependencies": { - "@testing-library/dom": "^8.0.0 || ^9.0.0", + "@testing-library/dom": "^8.0.0 || ^9.0.0 || ^10.0.0", "eslint": "^6.8.0 || ^7.0.0 || ^8.0.0" }, "peerDependenciesMeta": {