UNPKG

ng-mocks

Version:

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 19 20

88 lines (87 loc) 3.29 kB
{ "name": "ng-mocks", "version": "14.13.5", "description": "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 19 20, jasmine and jest.", "keywords": [ "angular", "test", "testing", "mock", "mocking", "component", "directive", "pipe", "provider", "service", "TestBed", "how-to", "frontend", "front-end", "jest", "jasmine", "enzyme", "stub", "dependency" ], "funding": "https://github.com/sponsors/help-me-mom", "author": { "name": "Isaac Datlof", "email": "ike18t@gmail.com", "url": "https://github.com/ike18t" }, "maintainers": [ { "name": "Isaac Datlof", "email": "ike18t@gmail.com", "url": "https://github.com/ike18t" }, { "name": "satanTime", "email": "m@sudo.eu", "url": "https://github.com/satanTime" } ], "repository": { "type": "git", "url": "https://github.com/help-me-mom/ng-mocks" }, "bugs": { "url": "https://github.com/help-me-mom/ng-mocks/issues" }, "homepage": "https://ng-mocks.sudo.eu", "license": "MIT", "types": "./index.d.ts", "main": "./index.js", "type": "commonjs", "files": [ "example.spec.ts", "index.d.ts", "index.js", "index.js.map", "index.mjs", "index.mjs.map", "migrations.json" ], "exports": { ".": { "types": "./index.d.ts", "require": "./index.js", "import": "./index.mjs", "default": "./index.js" }, "./package.json": "./package.json" }, "ng-update": { "migrations": "./migrations.json" }, "standard": {}, "scripts": { "test": "karma start" }, "peerDependencies": { "@angular/common": "5.0.0-alpha - 5 || 6.0.0-alpha - 6 || 7.0.0-alpha - 7 || 8.0.0-alpha - 8 || 9.0.0-alpha - 9 || 10.0.0-alpha - 10 || 11.0.0-alpha - 11 || 12.0.0-alpha - 12 || 13.0.0-alpha - 13 || 14.0.0-alpha - 14 || 15.0.0-alpha - 15 || 16.0.0-alpha - 16 || 17.0.0-alpha - 17 || 18.0.0-alpha - 18 || 19.0.0-alpha - 19 || 20.0.0-alpha - 20", "@angular/core": "5.0.0-alpha - 5 || 6.0.0-alpha - 6 || 7.0.0-alpha - 7 || 8.0.0-alpha - 8 || 9.0.0-alpha - 9 || 10.0.0-alpha - 10 || 11.0.0-alpha - 11 || 12.0.0-alpha - 12 || 13.0.0-alpha - 13 || 14.0.0-alpha - 14 || 15.0.0-alpha - 15 || 16.0.0-alpha - 16 || 17.0.0-alpha - 17 || 18.0.0-alpha - 18 || 19.0.0-alpha - 19 || 20.0.0-alpha - 20", "@angular/forms": "5.0.0-alpha - 5 || 6.0.0-alpha - 6 || 7.0.0-alpha - 7 || 8.0.0-alpha - 8 || 9.0.0-alpha - 9 || 10.0.0-alpha - 10 || 11.0.0-alpha - 11 || 12.0.0-alpha - 12 || 13.0.0-alpha - 13 || 14.0.0-alpha - 14 || 15.0.0-alpha - 15 || 16.0.0-alpha - 16 || 17.0.0-alpha - 17 || 18.0.0-alpha - 18 || 19.0.0-alpha - 19 || 20.0.0-alpha - 20", "@angular/platform-browser": "5.0.0-alpha - 5 || 6.0.0-alpha - 6 || 7.0.0-alpha - 7 || 8.0.0-alpha - 8 || 9.0.0-alpha - 9 || 10.0.0-alpha - 10 || 11.0.0-alpha - 11 || 12.0.0-alpha - 12 || 13.0.0-alpha - 13 || 14.0.0-alpha - 14 || 15.0.0-alpha - 15 || 16.0.0-alpha - 16 || 17.0.0-alpha - 17 || 18.0.0-alpha - 18 || 19.0.0-alpha - 19 || 20.0.0-alpha - 20" } }