Skip to content

tests(types): enable type-checking for arbitrary-equality-map-test.js - #17145

Open
Abhinavkumar-07 wants to merge 2 commits into
GoogleChrome:mainfrom
Abhinavkumar-07:tests/type-check-arbitrary-equality-map
Open

tests(types): enable type-checking for arbitrary-equality-map-test.js#17145
Abhinavkumar-07 wants to merge 2 commits into
GoogleChrome:mainfrom
Abhinavkumar-07:tests/type-check-arbitrary-equality-map

Conversation

@Abhinavkumar-07

Copy link
Copy Markdown

Removes core/test/lib/arbitrary-equality-map-test.js from tsconfig.json's type-check exclude list (one of the files noted as needing further work before they can be type-checked).

Fixed 2 resulting TS2554 errors — both were calls to Mocha's it(title, fn, timeoutMs), whose types only declare 1–2 params. Converted to the this.timeout(ms) pattern already used elsewhere in the test suite (e.g. core/test/scenarios/api-test-pptr.js).

Verified: yarn type-check passes clean, and all 4 tests in the file still pass.

@Abhinavkumar-07
Abhinavkumar-07 requested a review from a team as a code owner July 24, 2026 21:40
@Abhinavkumar-07
Abhinavkumar-07 requested review from connorjclark and removed request for a team July 24, 2026 21:40
@google-cla

google-cla Bot commented Jul 24, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant