-
-
Notifications
You must be signed in to change notification settings - Fork 332
fix: auto icons override default icons #1616
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
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for creative-fairy-df92c4 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Could you add a test for this? |
I added tests and here is output:
|
This reverts commit 5cddc41.
Thank you, did I not add any tests to that module when I made it? Oopsies haha. Looks all fine from me so @aklinker1 can merge when he approves of it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm alive! Been busy with some other life stuff. Should be back on GitHub and discord soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These tests don't import or test the actual module's logic, it just copies some code into the test file.
I can help write tests that import and use the actual module... Sometime soon 🤞
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aklinker1 Actually, I checked all the modules but I couldn't find an example that imports and tests a module. I also checked the Unit Test documention but I couldn't find the answer I was looking for. If you give me a clue, I'd be happy to improve it. Thanks for your time 😊
No worries everyone gets through things like that in life sometimes! I'm currently going through a lot of it as well |
just removed
return
statement in line 35.wxt/packages/auto-icons/src/index.ts
Line 35 in 31071bd
Manual Testing
public/icon/*
<src>/assets/icon.png
run npm run dev
This PR closes #1592