• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ckeditor / ckeditor5-inspector / 549

pending completion
549

push

travis-ci-com

web-flow
Bump webpack from 5.75.0 to 5.76.0

Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

521 of 560 branches covered (93.04%)

Branch coverage included in aggregate %.

1123 of 1165 relevant lines covered (96.39%)

113.25 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
/src/commands/tree.js
1
/**
2
 * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
 * For licensing, see LICENSE.md.
4
 */
5

6
import React, { Component } from 'react';
7
import { connect } from 'react-redux';
8
import { setCommandsCurrentCommandName } from './data/actions';
9

10
import Tree from '../components/tree/tree';
11
import NavBox from '../components/navbox';
12

13
class CommandTree extends Component {
14
        constructor( props ) {
15
                super( props );
8✔
16

17
                this.handleTreeClick = this.handleTreeClick.bind( this );
8✔
18
        }
19

20
        handleTreeClick( evt, currentCommandName ) {
21
                evt.persist();
×
22
                evt.stopPropagation();
×
23

24
                this.props.setCommandsCurrentCommandName( currentCommandName );
×
25
        }
26

27
        render() {
28
                return <NavBox>
8✔
29
                        <Tree
30
                                definition={this.props.treeDefinition}
31
                                onClick={this.handleTreeClick}
32
                                activeNode={this.props.currentCommandName}
33
                        />
34
                </NavBox>;
35
        }
36
}
37

38
const mapStateToProps = ( { commands: { treeDefinition, currentCommandName } } ) => {
1✔
39
        return { treeDefinition, currentCommandName };
8✔
40
};
41

42
const mapDispatchToProps = { setCommandsCurrentCommandName };
1✔
43

44
export default connect( mapStateToProps, mapDispatchToProps )( CommandTree );
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc