Skip to content

Release v1.1.7

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Aug 01:01
· 2 commits to develop since this release

What's Changed

Version 1.1.7 includes the following changes:

This release includes changes from merged pull request #142.

Changes

fix: explicit jest expect import.

Thank you for submitting a PR! Please review & check the boxes below:

  • I have filled in the "Description" section below.
  • I have provided manual testing steps and screenshots (if applicable).
  • My code is covered by automated tests.

Description

Update: the linter was complaining about Jest types after I converted Cypress to TypeScript. In order to fix the Jest types, I needed to explicitly import expect from the @jest/globals package at the top of Jest test files.

Steps to Test

Check out PR, npm i to install deps, then npm run check to run all checks locally.


Important

Explicitly import expect from @jest/globals in test files and convert Cypress config and tests to TypeScript.

  • Testing:
    • Explicitly import expect from @jest/globals in test files to resolve linter issues.
    • Affects page.test.tsx, Footer.test.tsx, Header.test.tsx, and 100+ other test files.
  • TypeScript:
    • Convert cypress.config.js to cypress.config.ts.
    • Convert Cypress integration test files from .js to .ts.
  • Dependencies:
    • Add @types/testing-library__jest-dom and chai to package.json.
    • Remove type: module from package.json.

This description was created by Ellipsis for 4d3f46b. You can customize this summary. It will automatically update as commits are pushed.