Skip to content
This repository was archived by the owner on May 29, 2023. It is now read-only.

Commit 4563eab

Browse files
authored
docs: Adding tip to README.md (#19)
1 parent 27775c9 commit 4563eab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ These packages have synced versions down to minor.
1616

1717
Add constants imported from this package to providers of your `ServerAppModule`.
1818
Typically, you can also use these mocks for tests. Idea of this package is — you shouldn't
19-
have to mock DOM on the server side or test `isPLatformBrowser` all the time. Instead,
19+
have to mock DOM on the server side or test `isPlatformBrowser` all the time. Instead,
2020
you leverage Angular DI system to abstract from implementation. When possible, this package
2121
will provide the same functionality on the server side as you have in browser. In other cases
2222
you will get type-safe mocks and you can at least be sure you will not have
@@ -32,6 +32,7 @@ Add following line to your `server.ts` to mock native classes used in other @ng-
3232
import '@ng-web-apis/universal/mocks';
3333
```
3434

35+
> It is recommended to keep the import statement at the top of your `server.ts` file
3536
## Tokens
3637

3738
You can provide tokens from this package into your `app.server.module.ts`

0 commit comments

Comments
 (0)