This repository was archived by the owner on May 29, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ These packages have synced versions down to minor.
1616
1717Add constants imported from this package to providers of your ` ServerAppModule ` .
1818Typically, 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,
2020you leverage Angular DI system to abstract from implementation. When possible, this package
2121will provide the same functionality on the server side as you have in browser. In other cases
2222you 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-
3232import ' @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
3738You can provide tokens from this package into your ` app.server.module.ts `
You can’t perform that action at this time.
0 commit comments