Skip to content

fix: test case fails for diffPlaces #1644

Closed

Description

@wasi-m

Describe the bug

The Test case fails for the diff Places

Steps to Reproduce

Clone dev branch, and run the tests

PELIAS_CONFIG=./test/test-pelias-config.json node --trace-uncaught test/unit/run.js | npx tap-dot

Expected behavior

Should check for grolmanstrasse

Environment (please complete the following information):

  • OS: Mac
  • Docker version: Docker version 20.10.21, build baeda1f
  • Docker Compose version: Docker Compose version v2.12.2

Pastebin/Screenshots

image

Activity

  1. michaelkirk commented on Jun 1, 2023

    @michaelkirk
    Contributor

    This test is failing for me too.

    It seems like the underlying remove-accents package is implicated.

    The test is depending on behavior from this change: tyxla/remove-accents#12 included first in release v0.4.2.

    But that behavior was reverted in 0.4.4 released in November '22.
    See tyxla/remove-accents#31

    I don't really know what behavior is better. But if we want to just delegate that decision to remove-accents, then as well as updating this test, it might make sense to bump the minimum version of remove-accents to 0.4.4 to keep everything coherent.

  2. missinglink commented on Jun 23, 2023

    @missinglink
    Member

    Hi, thanks for tracking this down, I alerted the author in the linked issue above.

  3. orangejulius commented on Jul 2, 2023

    @orangejulius
    Member

    I just merged #1655 to pin to a version of remove-accents that operates how our unit tests expect and we believe to be correct. Sounds like we can undo that pin in the near future though, as remove-accents may revert the change that broke our tests. Until then tests are passing again for everyone :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions