Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate random data causing intermittent Table test fail #95

Closed
levithomason opened this issue Oct 27, 2015 · 1 comment
Closed

Duplicate random data causing intermittent Table test fail #95

levithomason opened this issue Oct 27, 2015 · 1 comment

Comments

@levithomason
Copy link
Member

The table column test ensures there are no columns present for the TableColumn that was removed from the table definition. However, sometimes, there are two columns with the same name generated. Removing one, and testing that all are not present fails.

Instead, get a unique list of table columns before continuing.

image

In table test:

  describe('row', () => {
    it('only contains cells that were defined in TableColumns', () => {
      render(
        <Table data={tableData}>
          <TableColumn dataKey={randomDataKey} />
        </Table>
      )
...
@levithomason
Copy link
Member Author

Fixed in #90

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant