New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(@jest/types): align jest v28 dependencies (requires typescript bump to v4.5) #60832
Conversation
@jest/types
@jest/types
@viceice Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through. This is a live comment which I will keep updated. 15 packages in this PR
Code ReviewsBecause this is a widely-used package, a DT maintainer will need to review it before it can be merged. You can test the changes of this PR in the Playground. Status
All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes. Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 60832,
"author": "viceice",
"headCommitOid": "2efa3c17364f9406e7a9df910c6e1d63107f1e53",
"mergeBaseOid": "9c58088a931fdab5737f2e1343f3946421bf0de8",
"lastPushDate": "2022-06-16T14:02:32.000Z",
"lastActivityDate": "2022-06-17T11:46:34.000Z",
"mergeOfferDate": "2022-06-17T11:33:58.000Z",
"mergeRequestDate": "2022-06-17T11:46:34.000Z",
"mergeRequestUser": "viceice",
"hasMergeConflict": false,
"isFirstContribution": true,
"tooManyFiles": false,
"hugeChange": false,
"popularityLevel": "Critical",
"pkgInfo": [
{
"name": "expect-puppeteer",
"kind": "edit",
"files": [
{
"path": "types/expect-puppeteer/index.d.ts",
"kind": "definition"
}
],
"owners": [
"tkrotoff",
"jfm710"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Popular"
},
{
"name": "heft-jest",
"kind": "edit",
"files": [
{
"path": "types/heft-jest/index.d.ts",
"kind": "definition"
}
],
"owners": [
"octogonz",
"iclanton"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "jest-axe",
"kind": "edit",
"files": [
{
"path": "types/jest-axe/index.d.ts",
"kind": "definition"
}
],
"owners": [
"erbridge"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Popular"
},
{
"name": "jest-expect-message",
"kind": "edit",
"files": [
{
"path": "types/jest-expect-message/index.d.ts",
"kind": "definition"
}
],
"owners": [
"mike-d-davydov",
"saitonakamura"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "jest-image-snapshot",
"kind": "edit",
"files": [
{
"path": "types/jest-image-snapshot/index.d.ts",
"kind": "definition"
}
],
"owners": [
"dawnmist",
"erbridge",
"peterblazejewicz"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Popular"
},
{
"name": "jest-in-case",
"kind": "edit",
"files": [
{
"path": "types/jest-in-case/index.d.ts",
"kind": "definition"
}
],
"owners": [
"geovanisouza92"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "jest-json-schema",
"kind": "edit",
"files": [
{
"path": "types/jest-json-schema/index.d.ts",
"kind": "definition"
}
],
"owners": [
"lvl99"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "jest-matcher-one-of",
"kind": "edit",
"files": [
{
"path": "types/jest-matcher-one-of/index.d.ts",
"kind": "definition"
}
],
"owners": [
"joemitchard"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "jest-plugin-context",
"kind": "edit",
"files": [
{
"path": "types/jest-plugin-context/index.d.ts",
"kind": "definition"
}
],
"owners": [
"jonasheinrich"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "jest-sinon",
"kind": "edit",
"files": [
{
"path": "types/jest-sinon/index.d.ts",
"kind": "definition"
}
],
"owners": [
"seidelmartin"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "jest-specific-snapshot",
"kind": "edit",
"files": [
{
"path": "types/jest-specific-snapshot/index.d.ts",
"kind": "definition"
}
],
"owners": [
"dawnmist"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Popular"
},
{
"name": "jest-when",
"kind": "edit",
"files": [
{
"path": "types/jest-when/index.d.ts",
"kind": "definition"
}
],
"owners": [
"aldentaylor",
"immanuel192",
"gstamac",
"hipsterbrown"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Popular"
},
{
"name": "jest",
"kind": "edit",
"files": [
{
"path": "types/jest/index.d.ts",
"kind": "definition"
},
{
"path": "types/jest/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"NoHomey",
"jwbay",
"asvetliakov",
"alexjoverm",
"epicallan",
"ikatyang",
"wsmd",
"JamieMason",
"douglasduteil",
"ahnpnl",
"UselessPickles",
"r3nya",
"hotell",
"sebald",
"andys8",
"antoinebrault",
"gstamac",
"ExE-Boss",
"quassnoi",
"Belco90",
"tonyhallett",
"ycmjason",
"pawfa",
"regevbr",
"gerkindev",
"domdomegg"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Critical"
},
{
"name": "mapbox__aws-sdk-jest",
"kind": "edit",
"files": [
{
"path": "types/mapbox__aws-sdk-jest/index.d.ts",
"kind": "definition"
}
],
"owners": [
"stevensnoeijen"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "testing-library__jest-dom",
"kind": "edit",
"files": [
{
"path": "types/testing-library__jest-dom/index.d.ts",
"kind": "definition"
}
],
"owners": [
"gnapse",
"jgoz",
"smacpherson64",
"AndrewLeedham"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Critical"
}
],
"reviews": [
{
"type": "approved",
"reviewer": "peterblazejewicz",
"date": "2022-06-17T11:32:58.000Z",
"isMaintainer": true
},
{
"type": "approved",
"reviewer": "SimenB",
"date": "2022-06-17T11:10:26.000Z",
"isMaintainer": false
}
],
"mainBotCommentID": 1157422591,
"ciResult": "pass"
} |
🔔 @tkrotoff @jfm710 @octogonz @iclanton @erbridge @mike-d-davydov @saitonakamura @dawnmist @peterblazejewicz @geovanisouza92 @lvl99 @joemitchard @jonasheinrich @seidelmartin @aldentaylor @immanuel192 @gstamac @HipsterBrown @NoHomey @jwbay @asvetliakov @alexjoverm @epicallan @ikatyang @wsmd @JamieMason @douglasduteil @ahnpnl @UselessPickles @r3nya @Hotell @sebald @andys8 @antoinebrault @ExE-Boss @quassnoi @Belco90 @tonyhallett @ycmjason @pawfa @regevbr @GerkinDev @domdomegg @stevensnoeijen @gnapse @jgoz @smacpherson64 @AndrewLeedham — please review this PR in the next few days. Be sure to explicitly select |
This is a follow-up from #58784. If you upgrade all jest packages to v28, typescript will complain because of importing wrong jest types |
@SimenB WDYT? |
|
@viceice The CI build failed! Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks! Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review. |
Hey @viceice, 😒 Your PR doesn't modify any tests, so it's hard to know what's being fixed, and your changes might regress in the future. Please consider adding tests to cover the change you're making. Including tests allows this PR to be merged by yourself and the owners of this module. This can potentially save days of time for you! |
@viceice The CI build failed! Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks! Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review. |
`@sinclair/typebox` needs this
@viceice The CI build failed! Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks! Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review. |
Co-authored-by: Simen Bekkhus <sbekkhus91@gmail.com>
@SimenB Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review? |
@viceice can you edit the PR title, so it reflects TS version bump to be aligned with Jest v28 TS version? Thanks! |
@jest/types
@peterblazejewicz, @SimenB Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review? |
@peterblazejewicz Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@viceice: Everything looks good here. I am ready to merge this PR (at 2efa3c1) on your behalf whenever you think it's ready. If you'd like that to happen, please post a comment saying:
and I'll merge this PR almost instantly. Thanks for helping out! ❤️ |
Ready to merge |
Please fill in this template.
npm test <package to test>
.Select one of these and delete the others:
If adding a new definition:
.d.ts
files generated via--declaration
dts-gen --dt
, not by basing it on an existing project.tslint.json
should contain{ "extends": "@definitelytyped/dtslint/dt.json" }
, and no additional rules.tsconfig.json
should havenoImplicitAny
,noImplicitThis
,strictNullChecks
, andstrictFunctionTypes
set totrue
.If changing an existing definition:
If removing a declaration:
notNeededPackages.json
.