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

dataunitylab / relational-playground / #110

11 Sep 2025 02:31PM UTC coverage: 77.346% (-1.2%) from 78.51%
#110

push

michaelmior
Remove deprecated ReactDOM.findDOMNode

Signed-off-by: Michael Mior <mmior@mail.rit.edu>

524 of 741 branches covered (70.72%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

40 existing lines in 10 files now uncovered.

1009 of 1241 relevant lines covered (81.31%)

14408.74 hits per line

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

71.43
/src/DataContainer.js
1
// @flow
2
import React from 'react';
3
import Table from './Table';
4
import {useSelector} from 'react-redux';
5

6
import type {StatelessFunctionalComponent} from 'react';
7

8
import type {State} from './modules/data';
9

10
const DataContainer: StatelessFunctionalComponent<{||}> = () => {
2✔
11
  const data = useSelector<{data: State}, _>((state) => state.data);
2✔
12
  if (data.current) {
1!
13
    return (
1✔
14
      <div className="dataContainer" style={{margin: '1em'}}>
15
        <h4>Data for selected expression</h4>
16
        <Table
17
          tableName={data.current.name}
18
          columns={data.current.columns}
19
          data={data.current.data}
20
          sortable={false}
21
        />
22
      </div>
23
    );
24
  } else {
UNCOV
25
    return (
×
26
      <div className="dataContainer" style={{padding: '2em'}}>
27
        Select an expression above.
28
      </div>
29
    );
30
  }
31
};
32

33
export default DataContainer;
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

© 2026 Coveralls, Inc