Details
Create a test for:
- Adding a tag to an untagged existing bookmark should decrement the untagged count
- When all bookmarks are tagged the untagged count should disapear
- When a user removes a tag and makes a bookmark untagged it should add it to the untagged bookmark count.
- When all bookmarks are tagged and a user removes a tag then the untagged count should return.
Task
Write Vitests that cover each of these scenarios.
Details
Create a test for:
Task
Write Vitests that cover each of these scenarios.