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

Chore: add class static blocks tests #515

Merged
merged 1 commit into from Sep 29, 2021
Merged

Chore: add class static blocks tests #515

merged 1 commit into from Sep 29, 2021

Conversation

aladdin-add
Copy link
Member

@aladdin-add aladdin-add commented Sep 16, 2021

acorn has been upgraded in ee1d3ec, this commit simply added some tests. The tests were copied from test262, refs: tc39/test262@afe217b

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 16, 2021

CLA Signed

The committers are authorized under a signed CLA.

@aladdin-add aladdin-add marked this pull request as ready for review September 16, 2021 10:29
@aladdin-add aladdin-add force-pushed the class-static-blocks branch 3 times, most recently from 7f1e182 to ce7f636 Compare September 16, 2021 11:33
@aladdin-add aladdin-add marked this pull request as draft September 16, 2021 11:35
@aladdin-add aladdin-add force-pushed the class-static-blocks branch 2 times, most recently from 47b514a to cbee2f7 Compare September 16, 2021 11:45
@aladdin-add aladdin-add marked this pull request as ready for review September 22, 2021 05:47
@nzakas
Copy link
Member

nzakas commented Sep 22, 2021

It looks like all of the tests generate error objects. I'm guessing that's not what you intended?

@aladdin-add
Copy link
Member Author

it might be the non-error tests diff was not displayed by default. 😄

image

@nzakas
Copy link
Member

nzakas commented Sep 23, 2021

Ah ok. I don’t think we need so many tests that result in errors. We don’t need all of the test-262 cases because we are just wrapping what Acorn does. For other new features we’ve just done a handful of tests.

@aladdin-add aladdin-add marked this pull request as draft September 26, 2021 06:43
@aladdin-add aladdin-add force-pushed the class-static-blocks branch 5 times, most recently from c62691c to 33bea67 Compare September 26, 2021 08:10
@aladdin-add aladdin-add marked this pull request as ready for review September 26, 2021 08:11
@aladdin-add
Copy link
Member Author

just removed some invalid tests.

Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

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

Do we need all of the tests that just flag “await” as an error? That seems like more than is necessary for this.

@aladdin-add aladdin-add force-pushed the class-static-blocks branch 2 times, most recently from cf37983 to 2d7c0ad Compare September 28, 2021 09:27
acorn has been upgraded in ee1d3ec, this commit simply added some tests.
The tests were copied from test262, refs: tc39/test262@afe217b
@aladdin-add
Copy link
Member Author

Do we need all of the tests that just flag “await” as an error? That seems like more than is necessary for this.

some of these were thrown in "script" mode, should be resolved now. 🚀

Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@nzakas nzakas merged commit 93b24dd into main Sep 29, 2021
@nzakas nzakas deleted the class-static-blocks branch September 29, 2021 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants