editor-js / document-model

❗️WIP❗️
Apache License 2.0
10 stars 2 forks source link

feat(event-bus): implement simple eventbus class #43

Closed ilyamore88 closed 9 months ago

ilyamore88 commented 10 months ago

Task #22

Changelog

ToDo

github-actions[bot] commented 10 months ago

✅ Mutation testing passed

Report: https://dashboard.stryker-mutator.io/reports/github.com/editor-js/document-model/PR-43

Mutated files
src/utils/EventBus/EventBus.ts
src/utils/EventBus/events/BlockAddedEvent.ts
src/utils/EventBus/events/BlockModifiedEvent.ts
src/utils/EventBus/events/BlockRemovedEvent.ts
src/utils/EventBus/types/EventAction.ts
src/utils/EventBus/types/EventMap.ts
src/utils/EventBus/types/EventPayloadBase.ts
src/utils/EventBus/types/EventTarget.d.ts
src/utils/EventBus/types/EventType.ts
src/utils/EventBus/types/indexing.ts
github-actions[bot] commented 10 months ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟢 Statements 100% 453/453
🟢 Branches 99.21% 126/127
🟢 Functions 99.18% 121/122
🟢 Lines 100% 431/431

Test suite run success

311 tests passing in 18 suites.

Report generated by 🧪jest coverage report action from 033165db654946d0220d30057b354875b04393ce