Skip to content

Commit a04e663

Browse files
author
Josh David Miller
committed
feat(test): Files for testing are now configurable
Closes ngbp#70.
1 parent 09277b7 commit a04e663

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ module.exports = function ( grunt ) {
411411
'<%= vendor_files.js %>',
412412
'<%= html2js.app.dest %>',
413413
'<%= html2js.common.dest %>',
414-
'vendor/angular-mocks/angular-mocks.js'
414+
'<%= test_files.js %>'
415415
]
416416
}
417417
},

build.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ module.exports = {
3333
less: 'src/less/main.less'
3434
},
3535

36+
/**
37+
* This is a collection of files used during testing only.
38+
*/
39+
test_files: {
40+
js: [
41+
'vendor/angular-mocks/angular-mocks.js'
42+
]
43+
},
44+
3645
/**
3746
* This is the same as `app_files`, except it contains patterns that
3847
* reference vendor code (`vendor/`) that we need to place into the build

0 commit comments

Comments
 (0)