Closed gohabereg closed 10 months ago
Report: https://dashboard.stryker-mutator.io/reports/github.com/editor-js/document-model/PR-39
src/entities/BlockNode/consts.ts
src/entities/BlockNode/types/BlockChildType.ts
src/entities/EditorDocument/types/EditorDocumentSerialized.ts
src/entities/ValueNode/types/ValueSerialized.ts
src/utils/keypath.ts
src/utils/mapObject.ts
src/entities/BlockNode/index.ts
src/entities/BlockNode/types/BlockNodeConstructorParameters.ts
src/entities/BlockNode/types/BlockNodeData.ts
src/entities/BlockNode/types/BlockNodeSerialized.ts
src/entities/BlockNode/types/DataKey.ts
src/entities/BlockNode/types/index.ts
src/entities/BlockTune/index.ts
src/entities/BlockTune/types/BlockTuneConstructorParameters.ts
src/entities/BlockTune/types/BlockTuneSerialized.ts
src/entities/EditorDocument/index.ts
src/entities/EditorDocument/types/EditorDocumentConstructorParameters.ts
src/entities/EditorDocument/types/index.ts
src/entities/ValueNode/index.ts
src/entities/ValueNode/types/index.ts
src/entities/inline-fragments/InlineNode/index.ts
src/entities/inline-fragments/ParentInlineNode/index.ts
src/entities/inline-fragments/TextInlineNode/index.ts
src/entities/inline-fragments/TextNode/index.ts
src/tools/ToolsRegistry.ts
src/tools/types/BlockToolConstructable.ts
src/tools/types/index.ts
St.:grey_question: |
Category | Percentage | Covered / Total |
---|---|---|---|
🟢 | Statements | 100% | 468/468 |
🟢 | Branches | 99.21% (+0.19% 🔼) |
126/127 |
🟢 | Functions | 99.23% (+0.09% 🔼) |
129/130 |
🟢 | Lines | 100% | 447/447 |
310 tests passing in 17 suites.
Report generated by 🧪jest coverage report action from 91b40eec6d6b9cecbe7a8bbba43b9c615aba79a2
Could you please write a short changelog in the PR description? It helps with review
Changes
$t
initialize
methods to EditorDocument and BlockNode classes to create entities from passed serialized dataTwo issues raised to cover some of added code with integration tests: #40 #41