Closed ilyamore88 closed 11 months ago
St.:grey_question: |
Category | Percentage | Covered / Total |
---|---|---|---|
🟢 | Statements | 100% | 409/409 |
🟢 | Branches | 99.02% | 101/102 |
🟢 | Functions | 99.14% | 115/116 |
🟢 | Lines | 100% | 390/390 |
252 tests passing in 14 suites.
Report generated by 🧪jest coverage report action from 82cfd7afd5bdd35010e1c64d4f041a1563d5767d
Report: https://dashboard.stryker-mutator.io/reports/github.com/editor-js/document-model/PR-38
src/entities/EditorDocument/types/BlockNodeData.ts
src/entities/EditorDocument/index.ts
src/entities/EditorDocument/types/index.ts
Closes #18
Now, the
.addBlock
method receives the block node data object and creates a new instance of the BlockNode.