Ecosyste.ms: Repos

An open API service providing repository metadata for many open source software ecosystems.

GitHub / rjbultitude / mocks-stubs-and-spies-CJS-ESM-Sinon

A demo of stubs and spies with CommonJS and ES modules. CommonJS doesn't allow mock, stubs and spies for dependencies called within the same module and ES modules don't allow them for named imports. This repo contains demos of the problem as well as solutions.

JSON API: https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjbultitude%2Fmocks-stubs-and-spies-CJS-ESM-Sinon

Stars: 4
Forks: 0
Open Issues: 0

License: None
Language: JavaScript
Repo Size: 87.9 KB
Dependencies: 131

Created: over 3 years ago
Updated: 3 months ago
Last pushed: almost 3 years ago
Last synced: about 1 month ago

Topics: commonjs, commonjs-modules, esm, esmodules, spy, stubs

Files
    Loading...
    Readme
    Loading...
    Dependencies