Skip to content
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

Port 'beforeAll on disabled test' fixed from jasmine #5051

Closed
wants to merge 2 commits into from
Closed

Port 'beforeAll on disabled test' fixed from jasmine #5051

wants to merge 2 commits into from

Conversation

k15a
Copy link
Contributor

@k15a k15a commented Dec 11, 2017

I've ported the changes from https://github.com/jasmine/jasmine/pull/1225/files to jest but it seems like they are not fixing the issue at #4820.

@thymikee
Copy link
Collaborator

@k15a as you can probably already be aware of, this is failing on CI because of Prettier lint. Can you run yarn lint and amend the changes?

@SimenB
Copy link
Member

SimenB commented Dec 11, 2017

The new test is also failing, it's not just lint, unfortunately

@@ -1,11 +1,13 @@
describe("abc", function() {
it("runs abc", function() {});
/* globals fail */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cpojer yet another jasmine global... Can we add it to the jest global?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather just kill this one and provide a better API tbh.

@k15a
Copy link
Contributor Author

k15a commented Dec 11, 2017

So I've had a deeper look but I can't figure out how to fix this issue. The fix that worked for jasmine seems to not work for the jest fork.

@cpojer
Copy link
Member

cpojer commented Feb 7, 2018

Yeah, seems like this is not the right fix for Jest. I'll close this PR but we should still find a way to fix the original issue.

@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants