Skip to content

feat: add unit tests and fix memory leak#429

Open
missshang-hero wants to merge 1 commit intopipipi-pikachu:masterfrom
missshang-hero:master
Open

feat: add unit tests and fix memory leak#429
missshang-hero wants to merge 1 commit intopipipi-pikachu:masterfrom
missshang-hero:master

Conversation

@missshang-hero
Copy link

  • Fix memory leak in getImageSize() when image fails to load
  • Add vitest configuration for unit testing
  • Add unit tests for element.ts (13 tests)
  • Add unit tests for image.ts (6 tests)
  • Update package.json with test scripts and dependencies

- Fix memory leak in getImageSize() when image fails to load
- Add vitest configuration for unit testing
- Add unit tests for element.ts (13 tests)
- Add unit tests for image.ts (6 tests)
- Update package.json with test scripts and dependencies
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.

1 participant