angular-docs-cn/packages/platform-server/integrationtest
Olivier Combe f48b343af1 build: switch from npm to yarn (#19328)
PR Close #19328
2017-09-22 13:20:52 -07:00
..
e2e
src
.gitignore
README.md
build.sh
package.json
run_tests.sh build: switch from npm to yarn (#19328) 2017-09-22 13:20:52 -07:00
tsconfig.json
webpack.client.config.js
webpack.server.config.js

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