diff --git a/packages/viewer/cypress/e2e/citation.spec.ts b/packages/viewer/cypress/e2e/citation.spec.ts index 665901e..8f9e650 100644 --- a/packages/viewer/cypress/e2e/citation.spec.ts +++ b/packages/viewer/cypress/e2e/citation.spec.ts @@ -4,20 +4,22 @@ beforeEach(setup) describe('citation button', () => { it('copies Markdown links', () => { - cy.visit("/") + cy.visit('/') let b = cy.get('button').contains('Markdown Link') b.click() - b.should("have.text", "Copied!") + b.should('have.text', 'Copied!') cy.wait(5000) - b.should("have.text", "Markdown link") + b.should('have.text', 'Markdown link') - cy.window().then((win) => { - win.navigator.clipboard.readText().then((text) => { - expect(text).to.contain('π-Base, a community database of topological counterexamples'); - }); - }); + cy.window().then(win => { + win.navigator.clipboard.readText().then(text => { + expect(text).to.contain( + 'π-Base, a community database of topological counterexamples', + ) + }) + }) }) })