UNPKG

@s-ui/react-ad-blocker-extension-detector

Version:

> This component has only the logic of show content (i.e banner or message) through children when user has adblock. If you are using adblock just right now you should see a placeholder sentence like: <<"If you see this message you are using adblock extens

23 lines (17 loc) 529 B
/* * Remember: YOUR COMPONENT IS DEFINED GLOBALLY * */ /* eslint react/jsx-no-undef:0 */ // import React from 'react' // import {render} from '@testing-library/react' import chai, {expect} from 'chai' import chaiDOM from 'chai-dom' chai.use(chaiDOM) describe.skip('ad/blockerExtensionDetector', () => { it('Render', () => { // Example TO BE DELETED!!!! // const {getByRole} = render(<AtomButton>HOLA</AtomButton>) // expect(getByRole('button')).to.have.text('HOLA') expect(true).to.be.eql(false) }) })