refactor(background): export background as component closes #235

This commit is contained in:
moklick
2020-05-25 15:53:56 +02:00
parent 10cd70c6ee
commit 7324c79fd0
24 changed files with 229 additions and 227 deletions
+2 -2
View File
@@ -10,9 +10,9 @@ describe('Basic Graph Rendering', () => {
});
it('renders a grid', () => {
cy.get('.react-flow__grid');
cy.get('.react-flow__background');
const gridStroke = Cypress.$('.react-flow__grid path').attr('stroke');
const gridStroke = Cypress.$('.react-flow__background path').attr('stroke');
expect(gridStroke).to.equal('#eee');
});