refactor(examples): rename Advanced to CustomNodes, use func component

This commit is contained in:
moklick
2019-10-22 22:37:05 +02:00
parent bd60ad0ecd
commit 02005917f8
14 changed files with 2291 additions and 285 deletions
+17
View File
@@ -0,0 +1,17 @@
describe('Empty Flow Rendering', () => {
it('renders an empty graph', () => {
cy.visit('/empty');
cy.get('.react-flow__renderer');
cy.get('.react-flow__node').should('not.exist');
cy.get('.react-flow__edge').should('not.exist');
});
it('renders a control panel', () => {
cy.get('.react-flow__controls');
});
it('renders a mini map', () => {
cy.get('.react-flow__minimap');
});
});