Skip to content

Commit 277df85

Browse files
committed
debug build error.
1 parent 933b0f4 commit 277df85

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

test/expected/minimal-es5/minimal/AppController.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
* <p>Hello World Controller</p>
33
*/
44
module.exports = function AppController($scope) {
5+
'use strict';
56
$scope.title = 'Hello World';
67
};

test/tasks/build.spec.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,15 @@ describe('The Angularity build task should correctly build an existing project.'
3232
it('should successfully build the minimal-es5 project\'s js.', function (done) {
3333
helper.runAngularity('build')
3434
.then(function (result) {
35+
console.log('-args-----');
36+
console.log(result.args);
37+
console.log('-stdout-----');
38+
console.log(result.stdout);
39+
console.log('-stderr-----');
40+
console.log(result.stderr);
41+
console.log('-code-----');
42+
console.log(result.code);
43+
3544
var expectedJSBundle = path.join(expectedBuildFolder, 'app-build', 'index.js');
3645
var builtJSBundle = path.join(buildFolder, 'app-build', 'index.js');
3746
expect(builtJSBundle).diffFilePatch(expectedJSBundle);

0 commit comments

Comments
 (0)