angular-docs-cn/integration/platform-server
Igor Minar c80071dd59 test: fix integration/platform-server test which had missing @types/node devDep (#27937)
I'm not sure why this problem is visible only now or how this worked before, but the CI
is now failing because @types/node is missing.

I also added the yarn.lock file which was previously omitted. We want the yarn.lock file in so that
our deps don't change over time without us knowing.

PR Close #27937
2019-01-07 15:35:09 -08:00
..
e2e test: move platform-server integration test (#22810) 2018-04-13 16:30:50 -07:00
src test: move platform-server integration test (#22810) 2018-04-13 16:30:50 -07:00
README.md test: move platform-server integration test (#22810) 2018-04-13 16:30:50 -07:00
build.sh test: move platform-server integration test (#22810) 2018-04-13 16:30:50 -07:00
package.json test: fix integration/platform-server test which had missing @types/node devDep (#27937) 2019-01-07 15:35:09 -08:00
tsconfig.json test: move platform-server integration test (#22810) 2018-04-13 16:30:50 -07:00
webpack.client.config.js test: move platform-server integration test (#22810) 2018-04-13 16:30:50 -07:00
webpack.server.config.js test: move platform-server integration test (#22810) 2018-04-13 16:30:50 -07:00
yarn.lock test: fix integration/platform-server test which had missing @types/node devDep (#27937) 2019-01-07 15:35:09 -08:00

README.md

To add a new server side rendering E2E test

  • Add a new server side rendered application to src/
  • Edit webpack.client.config.js to add new entry point for the new client bundle
  • The index.html can access the client bundle from /built/.js
  • Edit src/server.ts to add the server side application to a new URL
  • Add a protractor test in e2e/ to test with the new URL