mirror of
https://github.com/mempool/mempool.git
synced 2025-04-04 01:50:43 +02:00
Comment out unused interceptors
This commit is contained in:
parent
fa18796109
commit
310bb3cf24
@ -35,23 +35,23 @@ const getRectangle = ($el) => $el[0].getBoundingClientRect();
|
||||
describe('Mainnet', () => {
|
||||
beforeEach(() => {
|
||||
//cy.intercept('/sockjs-node/info*').as('socket');
|
||||
cy.intercept('/api/block-height/*').as('block-height');
|
||||
cy.intercept('/api/v1/block/*').as('block');
|
||||
cy.intercept('/api/block/*/txs/0').as('block-txs');
|
||||
cy.intercept('/api/v1/block/*/summary').as('block-summary');
|
||||
cy.intercept('/api/v1/outspends/*').as('outspends');
|
||||
cy.intercept('/api/tx/*/outspends').as('tx-outspends');
|
||||
cy.intercept('/resources/pools.json').as('pools');
|
||||
// cy.intercept('/api/block-height/*').as('block-height');
|
||||
// cy.intercept('/api/v1/block/*').as('block');
|
||||
// cy.intercept('/api/block/*/txs/0').as('block-txs');
|
||||
// cy.intercept('/api/v1/block/*/summary').as('block-summary');
|
||||
// cy.intercept('/api/v1/outspends/*').as('outspends');
|
||||
// cy.intercept('/api/tx/*/outspends').as('tx-outspends');
|
||||
// cy.intercept('/resources/pools.json').as('pools');
|
||||
|
||||
// Search Auto Complete
|
||||
cy.intercept('/api/address-prefix/1wiz').as('search-1wiz');
|
||||
cy.intercept('/api/address-prefix/1wizS').as('search-1wizS');
|
||||
cy.intercept('/api/address-prefix/1wizSA').as('search-1wizSA');
|
||||
|
||||
Cypress.Commands.add('waitForBlockData', () => {
|
||||
cy.wait('@tx-outspends');
|
||||
cy.wait('@pools');
|
||||
});
|
||||
// Cypress.Commands.add('waitForBlockData', () => {
|
||||
// cy.wait('@tx-outspends');
|
||||
// cy.wait('@pools');
|
||||
// });
|
||||
});
|
||||
|
||||
if (baseModule === 'mempool') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user