Search results
38 packages found
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 17 18, jasm
- angular
- test
- testing
- mock
- mocking
- component
- directive
- pipe
- provider
- service
- TestBed
- how-to
- frontend
- front-end
- View more
Intuitive mocking for Typescript class imports
provides native ESM import and globals mocking for unit tests
Rewire private modules for use within Jest.
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.
Advanced dependency mocking device.
- es6
- require
- dependency
- injection
- dependency injection
- mock dependency
- di
- inject
- swap
- test
- mock
- mockery
- proxyquire
**Your code isnt untestable, your testing tools are too rigid.**
A simple mock injector compatible needing no instrumentation in the libraries being tested
Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require
Dependency injection and mocking for Node.js
Proxies import/require in order to allow overriding dependencies during testing.
Dependency injection for webpack bundles
Proxies browserify's require in order to allow overriding dependencies during testing.
Searches proxyquire dependencies stubs recursively using configurable patterns.
Easy dependency injection for node.js unit testing
Easy dependency injection for node.js unit testing
Library for injecting fake/mocked dependencies in tests