add className prop to ReactFlow container component closes #238

This commit is contained in:
Christopher Möller
2020-05-19 18:06:00 +02:00
parent c71b4cc551
commit cebab6731b
3 changed files with 7 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@ describe('Basic Graph Rendering', () => {
cy.visit('/basic');
cy.get('.react-flow__renderer');
cy.get('.react-flow-basic-example'); // check if className prop works
cy.get('.react-flow__node').should('have.length', 4);
cy.get('.react-flow__edge').should('have.length', 2);
cy.get('.react-flow__node').children('div').children('.react-flow__handle');