chore(e2e): remove experimental deeplink arg, add deepLinksDir

This commit is contained in:
Dan Bucholtz
2017-03-21 21:19:31 -05:00
parent e0b09615bd
commit a63f760786
2 changed files with 4 additions and 4 deletions

View File

@ -190,18 +190,20 @@ export function runWebpack(pathToWebpackConfig: string, done: Function) {
export function runAppScriptsServe(testOrDemoName: string, appEntryPoint: string, appNgModulePath: string, srcDir: string, distDir: string, tsConfig: string, ionicAngularDir: string, sassConfigPath: string, copyConfigPath: string, watchConfigPath: string) { export function runAppScriptsServe(testOrDemoName: string, appEntryPoint: string, appNgModulePath: string, srcDir: string, distDir: string, tsConfig: string, ionicAngularDir: string, sassConfigPath: string, copyConfigPath: string, watchConfigPath: string) {
console.log('Running ionic-app-scripts serve with', testOrDemoName); console.log('Running ionic-app-scripts serve with', testOrDemoName);
const deepLinksDir = dirname(dirname(appNgModulePath));
let scriptArgs = [ let scriptArgs = [
'serve', 'serve',
'--appEntryPoint', appEntryPoint, '--appEntryPoint', appEntryPoint,
'--appNgModulePath', appNgModulePath, '--appNgModulePath', appNgModulePath,
'--deepLinksDir', deepLinksDir,
'--srcDir', srcDir, '--srcDir', srcDir,
'--wwwDir', distDir, '--wwwDir', distDir,
'--tsconfig', tsConfig, '--tsconfig', tsConfig,
'--readConfigJson', 'false', '--readConfigJson', 'false',
'--experimentalParseDeepLinks', 'true',
'--ionicAngularDir', ionicAngularDir, '--ionicAngularDir', ionicAngularDir,
'--sass', sassConfigPath, '--sass', sassConfigPath,
'--copy', copyConfigPath '--copy', copyConfigPath,
'--enableLint', 'false',
]; ];
if (watchConfigPath) { if (watchConfigPath) {

View File

@ -57,7 +57,6 @@ export function createWorker(msg: MessageToWorker): any {
// default it to use the test/basic, or test/xyz directory // default it to use the test/basic, or test/xyz directory
const deepLinksDir = dirname(dirname(msg.appNgModulePath)); const deepLinksDir = dirname(dirname(msg.appNgModulePath));
try { try {
let scriptArgs = [ let scriptArgs = [
'build', 'build',
@ -68,7 +67,6 @@ export function createWorker(msg: MessageToWorker): any {
'--wwwDir', msg.distDir, '--wwwDir', msg.distDir,
'--tsconfig', msg.tsConfig, '--tsconfig', msg.tsConfig,
'--readConfigJson', 'false', '--readConfigJson', 'false',
'--experimentalParseDeepLinks', 'true',
'--experimentalManualTreeshaking', 'false', '--experimentalManualTreeshaking', 'false',
'--experimentalPurgeDecorators', 'false', '--experimentalPurgeDecorators', 'false',
'--ionicAngularDir', msg.ionicAngularDir, '--ionicAngularDir', msg.ionicAngularDir,