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

electron / fiddle / 13401539657

18 Feb 2025 10:51PM UTC coverage: 87.604%. Remained the same
13401539657

Pull #1678

github

web-flow
Merge 16c5fe5e0 into aba2a5c56
Pull Request #1678: build(deps): bump serialize-javascript from 6.0.1 to 6.0.2

982 of 1218 branches covered (80.62%)

Branch coverage included in aggregate %.

3767 of 4203 relevant lines covered (89.63%)

34.5 hits per line

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

0.0
/src/renderer/components/outputs.tsx
1
import * as React from 'react';
×
2

3
import { observer } from 'mobx-react';
×
4
import * as MonacoType from 'monaco-editor';
5

6
import { Output } from './output';
×
7
import { AppState } from '../state';
8

9
const defaultMonacoOptions: MonacoType.editor.IEditorOptions = {
×
10
  minimap: {
11
    enabled: false,
12
  },
13
  wordWrap: 'on',
14
};
15

16
interface OutputsProps {
17
  appState: AppState;
18
}
19

20
interface OutputsState {
21
  readonly monaco: typeof MonacoType;
22
  monacoOptions: MonacoType.editor.IEditorOptions;
23
}
24

25
export const Outputs = observer(
×
26
  class Outputs extends React.Component<OutputsProps, OutputsState> {
27
    constructor(props: OutputsProps) {
28
      super(props);
×
29

30
      this.state = {
×
31
        monaco: window.monaco,
32
        monacoOptions: defaultMonacoOptions,
33
      };
34
    }
35

36
    public render() {
37
      const { appState } = this.props;
×
38
      const { monaco } = this.state;
×
39

40
      return (
×
41
        <Output
42
          monaco={monaco}
43
          appState={appState}
44
          monacoOptions={defaultMonacoOptions}
45
        />
46
      );
47
    }
48
  },
49
);
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