-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
jasmine: update spec and suite #52004
Conversation
TODO:
|
👋 Hi there! I’ve run some quick measurements against master and your PR. These metrics should help the humans reviewing this PR gauge whether it might negatively affect compile times or editor responsiveness for users who install these typings. Let’s review the numbers, shall we? Comparison details 📊
It looks like nothing changed too much. I won’t post performance data again unless it gets worse. |
Updated numbers for you here from d5189d1. These typings are for a version of jasmine that doesn’t yet exist on master, so I’ve compared them with v3.6. Comparison details 📊
First off, note that the system varied slightly between these two runs, so you’ll have to take these measurements with a grain of salt. Wow, it looks like all the big movers moved in the right direction! Way to go! 🌟 I won’t post performance data again unless it gets worse. |
@UziTech Thank you for submitting this PR! This is a live comment which I will keep updated. 1 package in this PRCode ReviewsBecause you edited one package and updated the tests (👏), I can help you merge this PR once someone else signs off on it. 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": 52004,
"author": "UziTech",
"headCommitOid": "e9c711edc71d080f0749dcb08cc83b918ab22cf0",
"lastPushDate": "2021-05-10T15:22:58.000Z",
"lastActivityDate": "2021-05-11T01:45:57.000Z",
"maintainerBlessed": "Waiting for Code Reviews",
"mergeOfferDate": "2021-05-10T23:38:55.000Z",
"mergeRequestDate": "2021-05-11T01:45:57.000Z",
"mergeRequestUser": "UziTech",
"hasMergeConflict": false,
"isFirstContribution": false,
"tooManyFiles": false,
"popularityLevel": "Critical",
"pkgInfo": [
{
"name": "jasmine",
"kind": "edit",
"files": [
{
"path": "types/jasmine/index.d.ts",
"kind": "definition"
},
{
"path": "types/jasmine/jasmine-tests.ts",
"kind": "test"
}
],
"owners": [
"borisyankov",
"theodorejb",
"davidparsson",
"gmoothart",
"lukas-zech-software",
"Engineer2B",
"cyungmann",
"Roaders",
"devoto13",
"fdim",
"kolodny",
"stephenfarrar",
"djungowski",
"chivesrs",
"kirjs",
"ienzam"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Critical"
}
],
"reviews": [
{
"type": "approved",
"reviewer": "chivesrs",
"date": "2021-05-10T18:04:03.000Z",
"isMaintainer": false
},
{
"type": "stale",
"reviewer": "sgravrock",
"date": "2021-05-10T14:46:12.000Z",
"abbrOid": "8be00c9"
}
],
"ciResult": "pass"
} |
🔔 @borisyankov @theodorejb @davidparsson @gmoothart @lukas-zech-software @Engineer2B @cyungmann @Roaders @devoto13 @FDIM @kolodny @stephenfarrar @djungowski @chivesrs @kirjs @ienzam — please review this PR in the next few days. Be sure to explicitly select |
@sgravrock 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? |
Updated numbers for you here from 9747135. These typings are for a version of jasmine that doesn’t yet exist on master, so I’ve compared them with v3.6. Comparison details 📊
First off, note that the system varied slightly between these two runs, so you’ll have to take these measurements with a grain of salt. It looks like nothing changed too much. I won’t post performance data again unless it gets worse. |
Ready to merge |
I just published |
Hello! |
@StanislavKharchenko I believe they were renamed and slightly changed to more correctly describe the shape of objects passed to the reporter hooks (https://github.com/DefinitelyTyped/DefinitelyTyped/pull/52004/files#diff-344efb0ef17abfa10b5fd8c8152d7e2250795f7bf199d26d00bcd5e5f3f80495L894). If you use them as part of hooks it should be a matter of renaming the imports (or removing them altogether - as parameter types should be inferred automatically). Or do you have another use case for these interfaces? |
@devoto13
And we will have compilation error since interface "SuiteInfo" doesn't exist with type jasmine. |
I see. @UziTech Maybe we should also export these interfaces under old names as deprecated to ease the migration?
|
@UziTech @sgravrock I ended up here after doing an update of @types/jasmine, which now gives me a bunch of compile errors because of the renamed interfaces (I am using jasmine together with jasmine-spec-reporter package, and that package is now broken because of the rename). That deprecation notice would've been great. |
Please fill in this template.
npm test <package to test>
.If changing an existing definition: