esmock

provides native ESM import and globals mocking for unit tests

Browse on unpkg