Skip to content

Conversation

@il-sairamg
Copy link
Contributor

Adds tests covering Sprite texture creation, reuse, and SubTexture mapping.
Includes cases for missing frames, invalid inputs, and fallback behavior.

@github-actions
Copy link

github-actions bot commented Dec 2, 2025

Test Results: ✅ PASSED

Run at: 2025-12-02T14:13:48.626Z

Summary:
passed: 950 failed: 0 of 950 tests

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

Test Results: ✅ PASSED

Run at: 2025-12-03T08:11:13.465Z

Summary:
passed: 950 failed: 0 of 950 tests

? Object.assign({}, this.map.defaults || {}, this.map.frames[this.frame])
: this.map[this.frame]
if ('frames' in this.map && this.map.frames !== null && this.map.frames !== undefined) {
if (this.frame in this.map.frames) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

is it necessary for this condition to be nested? or can it be included in the condition one level up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants