Skip to content

Commit

Permalink
Amend test desc
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeSonia committed May 30, 2024
1 parent 585e35d commit b93d714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/javascripts/unit/foreign-travel-advice.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ describe('CountryFilter', function () {
expect(filter.filterListItems).toHaveBeenCalled()
})

it('Should cancel events bound to keydown when enter is pressed', function () {
it('Should prevent form submission and filtering when enter key is pressed', function () {
filter = new GOVUK.countryFilter($input[0])
spyOn(filter, 'filterListItems')

Expand Down

0 comments on commit b93d714

Please sign in to comment.