Skip to content

[Feauture]: Add geo matchers (toBeGeoLatitude, toBeGeoLongitude)  #542

@verdecchia

Description

@verdecchia

Feature Request

Description:

Add geo matchers:

  • toBeGeoLatitude
  • toBeGeoLongitude

I've been using jest and jest-extended for long. Few months ago I needed to make geographic
assertions to a project I was working on but I didn't found anything already done so I wrote
some custom code in my project and later refactored and open sourced to a library
(https://www.npmjs.com/package/check-geographic-coordinates).

Other developers finded it useful and used it, some of them gave to me some feedbacks in
how to improve it, but I was missing the most important one, the jest assertion syntax integration.
So I decided to look at jest-exteded more in deep, not as the user I was, but as a developer
and I made this feature request. Looking backward I think I would used it directly with jest-extended.

Possible solution:

#538

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions