Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 0355b19

Browse files
committed
docs: fix typos in README
1 parent 010e676 commit 0355b19

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Avoid the hassle of intercepting multiple http calls and manufacturing sequences
5252
The in-memory data store resets for each test so there is no cross-test data pollution.
5353

5454
* End-to-end tests. If you can toggle the app into test mode
55-
using the in-mem web api, you won't disturb the real database.
55+
using the in-memory web api, you won't disturb the real database.
5656
This can be especially useful for CI (continuous integration) builds.
5757

5858

@@ -152,15 +152,15 @@ export class AppModule { ... }
152152

153153
**_Notes_**
154154

155-
* Always import the `InMemoryWebApiModule` _after_ the `HttpClientModule` to ensure that
156-
the in-memory backed provider supersedes the Angular version.
155+
* Always import the `HttpClientInMemoryWebApiModule` _after_ the `HttpClientModule`
156+
to ensure that the in-memory backend provider supersedes the Angular version.
157157

158158
* You can setup the in-memory web api within a lazy loaded feature module by calling the `.forFeature` method as you would `.forRoot`.
159159

160160
* The `createDb` method can be synchronous or asynchronous.
161161
so you can initialize your in-memory database service from a JSON file.
162162
Return the database object, an observable of that object, or a promise of that object.
163-
The in-mem web api service calls `createDb` (a) when it handles the _first_ `HttpClient` (or `Http`) request and (b) when it receives a `POST resetdb` request.
163+
The in-memory web api service calls `createDb` (a) when it handles the _first_ `HttpClient` (or `Http`) request and (b) when it receives a `POST resetdb` request.
164164

165165
### Using with the older Angular _Http_ module
166166

0 commit comments

Comments
 (0)