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

Sprite Lab event tests #29268

Merged
merged 2 commits into from Jun 21, 2019
Merged

Sprite Lab event tests #29268

merged 2 commits into from Jun 21, 2019

Conversation

ajpal
Copy link
Contributor

@ajpal ajpal commented Jun 20, 2019

Test coverage for click, key, and collision events in Sprite Lab

Follow up- will add more test coverage for costume group collisions as part of https://codedotorg.atlassian.net/browse/STAR-537

@ajpal ajpal requested a review from a team June 21, 2019 16:35
spriteId = spriteUtils.addSprite(sprite);
target = createSprite();
targetId = spriteUtils.addSprite(target);

Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: remove newline

mouseIsOverStub.restore();
mousePressedOverStub.restore();
});
it('works with individual sprites', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

NIT: 'work with individual sprites'

Copy link
Contributor

Choose a reason for hiding this comment

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

Same with others below

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why "work"? I was trying to make it read like "it works with..."

Copy link
Contributor

@jmkulwik jmkulwik left a comment

Choose a reason for hiding this comment

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

LGTM! Had a couple nits in there. No need for a second review if you do/don't change them.

Copy link
Contributor

@joshlory joshlory left a comment

Choose a reason for hiding this comment

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

This is great!

@ajpal ajpal merged commit fc079df into staging Jun 21, 2019
@ajpal ajpal deleted the spritelab-event-test branch June 21, 2019 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants