Skip to content

Replace int spy in romamNumeral test #4019

Description

@ST-DDT

Why do we need to spy on the int method at all? Can we simply test faker.number.romanNumeral({ min: value, max: value}) and expect the same outcome without having to spy on the implementing function?

Originally posted by @xDivisionByZerox in #3857 (comment)

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions