From c378423b2b52629f71787e23ee9b50f9cbc7af33 Mon Sep 17 00:00:00 2001 From: Tim Deschryver <28659384+timdeschryver@users.noreply.github.com> Date: Thu, 18 Apr 2024 12:37:18 +0200 Subject: [PATCH] feat: upgrade @testing-library/dom to v10 (#447) BREAKING CHANGE: New version of @testing-library/dom changes various roles. Check out the changed tests in testing-library/dom-testing-library@2c57055 to get an overview about what changed. --- .github/workflows/ci.yml | 2 +- package.json | 2 +- projects/testing-library/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78880eb..28aac0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: - node-version: ${{ fromJSON((github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta') && '[20]' || '[16, 18, 20]') }} + node-version: ${{ fromJSON((github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta') && '[20]' || '[18, 20]') }} os: ${{ fromJSON((github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta') && '["ubuntu-latest"]' || '["ubuntu-latest", "windows-latest"]') }} runs-on: ${{ matrix.os }} diff --git a/package.json b/package.json index f841435..6c96abe 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@angular/router": "17.3.2", "@ngrx/store": "17.1.0", "@nx/angular": "17.2.8", - "@testing-library/dom": "^9.0.0", + "@testing-library/dom": "^10.0.0", "rxjs": "7.8.0", "tslib": "~2.3.1", "zone.js": "0.14.2" diff --git a/projects/testing-library/package.json b/projects/testing-library/package.json index 7ebb6e7..fd3cfac 100644 --- a/projects/testing-library/package.json +++ b/projects/testing-library/package.json @@ -35,7 +35,7 @@ "@angular/core": ">= 17.0.0" }, "dependencies": { - "@testing-library/dom": "^9.0.0", + "@testing-library/dom": "^10.0.0", "tslib": "^2.3.1" }, "publishConfig": {