Skip to content

Commit e3e637b

Browse files
committed
fix: fix the way the build command runs for mobile tests
1 parent a89f92e commit e3e637b

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

addon/ng2/utilities/ts-path-mappings-webpack-plugin.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,6 @@ export class PathsPlugin implements ResolverPlugin {
183183
this.baseUrl
184184
);
185185

186-
console.log("CONFIG FILE AND BASE URL");
187-
console.log(this.configFilePath, this.absoluteBaseUrl);
188-
189186
this.mappings = [];
190187
let paths = this.options.paths || {};
191188
Object.keys(paths).forEach(alias => {

tests/e2e/e2e_workflow.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ describe('Basic end-to-end Workflow', function () {
458458
config.compilerOptions.paths = { '@angular/*': [] };
459459
fs.writeFileSync(configFilePath, JSON.stringify(config, null, 2), 'utf8');
460460

461-
return ng(['build'])
461+
return exec(`${ngBin} build`)
462462
// #TODO: Uncomment these lines when https://github.com/Microsoft/TypeScript/issues/9772 is fixed.
463463
// .catch(() => {
464464
// return true;
@@ -473,7 +473,7 @@ describe('Basic end-to-end Workflow', function () {
473473
};
474474
fs.writeFileSync(configFilePath, JSON.stringify(config, null, 2), 'utf8');
475475
})
476-
.then(() => ng(['build']))
476+
.then(() => exec(`${ngBin} build`)
477477
.catch(() => {
478478
expect('build failed where it should have succeeded').to.equal('');
479479
});

0 commit comments

Comments
 (0)