Skip to content

feat: add unit tests and fix memory leak#429

Open
shangtiepeng wants to merge 1 commit into
pipipi-pikachu:masterfrom
shangtiepeng:master
Open

feat: add unit tests and fix memory leak#429
shangtiepeng wants to merge 1 commit into
pipipi-pikachu:masterfrom
shangtiepeng:master

Conversation

@shangtiepeng

Copy link
Copy Markdown
  • 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