Skip to content

Commit

Permalink
docs: fixing typos
Browse files Browse the repository at this point in the history
  • Loading branch information
satanTime committed Jun 6, 2020
1 parent cb90e87 commit 94fde28
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
```

Expand Down
2 changes: 1 addition & 1 deletion karma-test-shim.ts
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/common/decorate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/mock-module/mock-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function MockIt(module: Type<any>): 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 = [];

Expand Down
2 changes: 1 addition & 1 deletion tests-jasmine/index.ts
Original file line number Diff line number Diff line change
@@ -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,
};
Expand Down
2 changes: 1 addition & 1 deletion tests-jest/index.ts
Original file line number Diff line number Diff line change
@@ -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,
};
Expand Down

0 comments on commit 94fde28

Please sign in to comment.