rumkin / pill

Add dynamic content loading to static sites with only 1 KiB of JS
https://rumkin.github.io/pill/
MIT License
383 stars 19 forks source link

Local e2e tests do not work #28

Open tamb opened 4 years ago

tamb commented 4 years ago

Expected behavior:

When you serve the local files the pill links should fetch without loading the page

Actual behavior

Default behavior of anchor clicks needs to be prevented in order to test

To Recreate

  1. run npm start
  2. open localhost served file in firefox
  3. click links reloads the entire page

As a bypass I used preventDefault() in the console of the browser.

rumkin commented 3 years ago

I though I understand this. But now I could not reproduce that. Could you provide the steps to highlight the problem.