From 9eb217d2c01b4386524cbae03b551d1872a993f1 Mon Sep 17 00:00:00 2001 From: Alisha Date: Thu, 5 Dec 2024 23:36:54 +0000 Subject: [PATCH] manually install jest --- .github/workflows/development.yml | 5 +++-- package.json | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index 1e44276d3..0f9e8a9c1 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -1,4 +1,4 @@ -name: Development +iname: Development on: pull_request: @@ -23,6 +23,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 16 - + - name: "Install jest env jsdom" + run: npm install -D jest-environment-jsdom - name: "Run tests" run: npm test diff --git a/package.json b/package.json index 3c0426101..e9c61bcc7 100644 --- a/package.json +++ b/package.json @@ -90,6 +90,7 @@ "jest": "^27.5.1", "jest-axe": "^6.0.0", "jest-watch-typeahead": "^1.1.0", + "jest-environment-jsdom": "^27.5.1", "node-notifier": "^10.0.1", "p-limit": "^4.0.0", "postcss": "^8.4.13",