diff --git a/apps/token-e2e/src/integration/home.cy.js b/apps/token-e2e/src/integration/home.cy.js index 32a5d8483..9e6863824 100644 --- a/apps/token-e2e/src/integration/home.cy.js +++ b/apps/token-e2e/src/integration/home.cy.js @@ -1,4 +1,3 @@ - import navigation from '../locators/navigation.locators'; import home from '../locators/home.locators'; import vegaToken from '../fixtures/vegaToken.json'; diff --git a/apps/token-e2e/src/support/index.ts b/apps/token-e2e/src/support/index.ts index 79086d866..396c60790 100644 --- a/apps/token-e2e/src/support/index.ts +++ b/apps/token-e2e/src/support/index.ts @@ -1,14 +1,10 @@ - import '@vegaprotocol/cypress'; // Hide fetch/XHR requests - They create a lot of noise in command log const app = window.top; if (!app.document.head.querySelector('[data-hide-command-log-request]')) { const style = app.document.createElement('style'); - style.innerHTML = - '.command-name-request, .command-name-xhr { display: none }'; + style.innerHTML = '.command-name-request, .command-name-xhr { display: none }'; style.setAttribute('data-hide-command-log-request', ''); - app.document.head.appendChild(style); -} - +} \ No newline at end of file