Skip to content

Commit

Permalink
Make search JS test fail to test runner
Browse files Browse the repository at this point in the history
I want to check the tests are running correctly on
github actions.
  • Loading branch information
tombye committed Jan 16, 2025
1 parent 58e7c76 commit fa69120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/javascripts/anchored-heading-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('Anchored headings', function () {
})

it('adds an anchor to headings in the target element', function () {
expect($heading.find('a').length).toEqual(1)
expect($heading.find('a').length).toEqual(0)
})

it('sets the href of the anchor to the heading\'s id attribute', function () {
Expand Down

0 comments on commit fa69120

Please sign in to comment.