Skip to content

Remove sinon from xpi tests #2

@willdurand

Description

@willdurand

The xpi tests for the io module uses sinon with some more advanced features such as withArgs to have references to mocks called with specific args. To remove sinon this needs to be refactored to use jest.fn by itself.

In addition the sinon yieldAsync calls need to be switched over to use jest's mockImplementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions