cmfcmf / docusaurus-search-local

Offline / Local Search for Docusaurus v2. Try it live at:
https://cmfcmf.github.io/OpenWeatherMap-PHP-API/
MIT License
438 stars 67 forks source link

Cant pass check on pull request #106

Closed Glimmaren closed 2 years ago

Glimmaren commented 2 years ago

Im trying to add Swedish translation but cant pass check when creating an pull request,

Does anyone now whats wrong?

"Error: expect(received).toBe(expected) // Object.is equality

Expected: "http://localhost:3000/docs/next/translated"
Received: "http://localhost:3000/docs/next/d-s-l-test"

  68 |
  69 |   await search(page, "english");
> 70 |   await expect(page.url()).toBe("http://localhost:3000/docs/next/translated");
     |                            ^
  71 |
  72 |   // Go to a random German doc
  73 |   await page.goto("http://localhost:3000/de/docs/next/d-s-l-test");

    at /home/runner/work/docusaurus-search-local/docusaurus-search-local/e2e-tests/e2e.spec.ts:70:28

"

cmfcmf commented 2 years ago

I think this was caused by you accidentally modifying some unrelated files. After removing the unrelated files from the PR, the checks passed successfully.