Skip to content

Commit

Permalink
Remove hide test
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ju committed Mar 26, 2019
1 parent 9f5e768 commit 9c5e838
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions spec/javascripts/components/cookie-banner-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,4 @@ describe('Cookie banner component', function () {
var banner = document.querySelector('[data-module="cookie-banner"]')
expect(banner).toBeVisible()
})

it('should hide the cookie banner when pressing the link', function () {
var banner = document.querySelector('[data-module="cookie-banner"]')
var link = document.querySelector('[data-hide-cookie-banner]')
if (link !== 'underfined') link.click()
expect(banner).toBeHidden()
})
})

0 comments on commit 9c5e838

Please sign in to comment.