laravel-editorjs
laravel-editorjs copied to clipboard
Test: Add unit test for the blocks
We need to create unit tests for the following supported blocks in our project to ensure their functionality is thoroughly tested and reliable. These tests will help us catch potential bugs early and maintain the quality of the code as we continue to develop new features.
The blocks that require unit tests are as follows:
- [ ] Code
- [ ] Delimiter
- [ ] Header
- [ ] Image
- [ ] Link
- [ ] List
- [ ] Not-Found
- [ ] Paragraph
- [ ] Quote
- [ ] Raw
- [ ] Table
Each block should have comprehensive tests to cover different scenarios, including rendering, functionality, and edge cases. This will help us ensure that each block behaves as expected under various conditions.
The addition of these unit tests will improve the overall stability and maintainability of the project.