From 6a97bc63fb10ec7d146c8077a29390824193e5c0 Mon Sep 17 00:00:00 2001 From: Blake Netzeband <blake.netzeband@gmail.com> Date: Wed, 10 Jan 2024 15:20:16 -0700 Subject: [PATCH 1/2] upgrade jsdom. added node enviro --- package.json | 2 +- src/__tests__/to-be-invalid.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1f6df712..f76eb4a1 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ "expect": "^29.6.2", "jest-environment-jsdom-sixteen": "^1.0.3", "jest-watch-select-projects": "^2.0.0", - "jsdom": "^16.2.1", + "jsdom": "^23.2.0", "kcd-scripts": "^14.0.0", "pretty-format": "^25.1.0", "rollup": "^3.28.1", diff --git a/src/__tests__/to-be-invalid.js b/src/__tests__/to-be-invalid.js index 66ed8749..fc70b115 100644 --- a/src/__tests__/to-be-invalid.js +++ b/src/__tests__/to-be-invalid.js @@ -1,3 +1,7 @@ +/** + * @jest-environment node + */ + import {JSDOM} from 'jsdom' import {render} from './helpers/test-utils' From e6fdcfa685dad82de92253f67bf212e9d7d93864 Mon Sep 17 00:00:00 2001 From: Blake Netzeband <blake.netzeband@gmail.com> Date: Fri, 12 Jan 2024 14:32:58 -0700 Subject: [PATCH 2/2] update node runner version to 16 --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 6a727c41..6846d82c 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -54,7 +54,7 @@ jobs: - name: ⎔ Setup node uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 16 - name: 📥 Download deps uses: bahmutov/npm-install@v1