Search results
53 packages found
Proxies nodejs require in order to allow overriding dependencies during testing.
Easy dependency injection for node.js unit testing
Simple, intuitive mocking of Node.js modules.
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
`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.
Advanced dependency mocking device.
- es6
- require
- dependency
- injection
- dependency injection
- mock dependency
- di
- inject
- swap
- test
- mock
- mockery
- proxyquire
a simple ioc container
Dependency injection and mocking for Node.js
Proxies browserify's require in order to allow overriding dependencies during testing.
provides native ESM import and globals mocking for unit tests
Dependency Injection for Javascript Functions
Dependency injection with 'require()'
A dependency injection framework
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.
Proxies import/require in order to allow overriding dependencies during testing.
A simple mock injector compatible needing no instrumentation in the libraries being tested
Simple script for mocking execution context
Proxies browserify's require in order to allow overriding dependencies during testing.