52 packages found
Proxies nodejs require in order to allow overriding dependencies during testing.
An Angular testing library for creating mock services, components, directives, pipes and modules in unit tests. It provides shallow rendering, precise stubs to fake child dependencies. ng-mocks works with Angular 5 6 7 8 9 10 11 12 13 14 15 16, jasmine an
- angular
- test
- testing
- mock
- mocking
- component
- directive
- pipe
- provider
- service
- TestBed
- how-to
- frontend
- front-end
- View more
Simple, intuitive mocking of Node.js modules.
Advanced dependency mocking device.
- es6
- require
- dependency
- injection
- dependency injection
- mock dependency
- di
- inject
- swap
- test
- mock
- mockery
- proxyquire
Easy dependency injection for node.js unit testing
`constructable` is a very lightweight library to make your code easily testable. It is an alternative for mocking node modules or traditional dependency injection frameworks.
a simple ioc container
Dependency injection and mocking for Node.js
Proxies browserify's require in order to allow overriding dependencies during testing.
Dependency injection with 'require()'
SinonJS adapter to use it with hydrajs-testing-helper.
Finally, a solution to node.js dependency injection
Proxies browserify's require in order to allow overriding dependencies during testing.
A simple mock injector compatible needing no instrumentation in the libraries being tested
Proxies import/require in order to allow overriding dependencies during testing.
provides native ESM import and globals mocking for unit tests
A dependency injection framework
Simple script for mocking execution context
Proxies browserify's require in order to allow overriding dependencies during testing.
Auto mock/inject dependencies for Angular tests