diff --git a/README.md b/README.md index c2d464eb1e..084afef83b 100644 --- a/README.md +++ b/README.md @@ -570,7 +570,7 @@ Add the next code to `src/test.ts` if you want all mocked methods and functions ```typescript import 'ng-mocks/dist/jasmine'; -// uncomment in case if existing tests-jasmine are with spies already. +// uncomment in case if existing tests are with spies already. // jasmine.getEnv().allowRespy(true); ``` diff --git a/karma-test-shim.ts b/karma-test-shim.ts index d573ff70cb..54f4389dfb 100644 --- a/karma-test-shim.ts +++ b/karma-test-shim.ts @@ -1,6 +1,6 @@ Error.stackTraceLimit = Infinity; -// Reflect.metadata polyfill is only needed in the JIT mode which we use only for unit tests-jasmine +// Reflect.metadata polyfill is only needed in the JIT mode which we use only for unit tests import 'core-js/es6/reflect'; // tslint:disable-line import 'core-js/es7/reflect'; // tslint:disable-line diff --git a/lib/common/decorate.ts b/lib/common/decorate.ts index 4856edb935..34527fdd97 100644 --- a/lib/common/decorate.ts +++ b/lib/common/decorate.ts @@ -3,7 +3,7 @@ import { ContentChild, ContentChildren, Input, Output, Query, Type, ViewChild, V // Looks like an A9 bug, that queries from @Component aren't processed. // Also we have to pass prototype, not the class. // The same issue happens with outputs, but time to time -// (when I restart tests-jasmine with refreshing browser manually). +// (when I restart tests with refreshing browser manually). // https://github.com/ike18t/ng-mocks/issues/109 /** diff --git a/lib/mock-module/mock-module.ts b/lib/mock-module/mock-module.ts index 32d425f81a..8fd28383cd 100644 --- a/lib/mock-module/mock-module.ts +++ b/lib/mock-module/mock-module.ts @@ -162,7 +162,7 @@ function MockIt(module: Type): NgModule { // When we mock module only exported declarations are accessible inside of test. // Because of that we have to export everything what a module imports or declares. - // Unfortunately in that case tests-jasmine won't fail when some module has missed exports. + // Unfortunately in that case tests won't fail when some module has missed exports. if (mockedModule.declarations || mockedModule.imports) { mockedModule.exports = []; diff --git a/tests-jasmine/index.ts b/tests-jasmine/index.ts index c18fd3dfb8..c730517a9e 100644 --- a/tests-jasmine/index.ts +++ b/tests-jasmine/index.ts @@ -1,4 +1,4 @@ -// Dirty 'any' hack to avoid issues to run tests-jasmine on angular 8 when the 'static' key is required. +// Dirty 'any' hack to avoid issues to run tests on angular 8 when the 'static' key is required. export const staticFalse: any = { static: false, }; diff --git a/tests-jest/index.ts b/tests-jest/index.ts index c18fd3dfb8..c730517a9e 100644 --- a/tests-jest/index.ts +++ b/tests-jest/index.ts @@ -1,4 +1,4 @@ -// Dirty 'any' hack to avoid issues to run tests-jasmine on angular 8 when the 'static' key is required. +// Dirty 'any' hack to avoid issues to run tests on angular 8 when the 'static' key is required. export const staticFalse: any = { static: false, };