Change rewire dev dependency with sinon.js

Description

We use rewire in our tests, to patch module dependencies and fake them.

rewire is not being actively maintained. We should replace it with sinon.js.

Note that this only affects our tests setup and dependencies, as rewire and sinon will not be installed for our users as it's a dev dependency.

Environment

None

Pull Requests

None

Status

Assignee

Jorge Bay Gondra

Reporter

Jorge Bay Gondra

Reviewer

None

Fix versions

None

Labels

None

Components

None

PM Priority

None

Pull Request

None

Priority

Major
Configure