docs(aio): updated i18n guide and example (#19975)

This commit is contained in:
Olivier Combe
2017-11-02 22:22:09 +01:00
committed by Victor Berchet
parent 3db7112b89
commit 132c0719dc
30 changed files with 811 additions and 797 deletions

View File

@ -20,7 +20,6 @@ const IGNORED_EXAMPLES = [ // temporary ignores
'quickstart',
'http',
'setup',
'i18n',
'webpack',
'upgrade-p'
];
@ -203,7 +202,7 @@ function runProtractorAoT(appDir, outputFile) {
// CLI version
function runE2eTestsCLI(appDir, outputFile) {
// --preserve-symlinks is needed due the symlinked node_modules in each example
const e2eSpawn = spawnExt('ng', ['e2e', '--preserve-symlinks'], { cwd: appDir });
const e2eSpawn = spawnExt('yarn', ['e2e', '--preserve-symlinks'], { cwd: appDir });
return e2eSpawn.promise.then(
function () {
fs.appendFileSync(outputFile, `Passed: ${appDir}\n\n`);