htmx icon indicating copy to clipboard operation
htmx copied to clipboard

Fix ajax api body test

Open MichaelWest22 opened this issue 1 year ago • 0 comments

Description

ajax api test for body was causing problems possibly as it was swapping and then reverting body. Change this test so it just checks if the body is the target but uses a swap of none so it won't possibly cause issues to the body state.

Corresponding issue:

Testing

Ran tests locally to make sure they still pass.

Checklist

  • [x] I have read the contribution guidelines
  • [x] I have targeted this PR against the correct branch (master for website changes, dev for source changes)
  • [ ] This is either a bugfix, a documentation update, or a new feature that has been explicitly approved via an issue
  • [x] I ran the test suite locally (npm run test) and verified that it succeeded

MichaelWest22 avatar Dec 12 '24 22:12 MichaelWest22