Skip to content

Commit fb28c28

Browse files
committed
expect uirouter mocks in tests
1 parent 6aadee6 commit fb28c28

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: test/test-file-creation.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,17 @@ describe('angular-fullstack generator', function () {
174174
'protractor.conf.js'
175175
]);
176176

177+
if (ops.router === 'uirouter') {
178+
files = files.concat([
179+
'client/components/ui-router/ui-router.mock.' + script
180+
]);
181+
}
182+
177183
if (ops.uibootstrap) {
178184
files = files.concat([
179185
'client/components/modal/modal.' + markup,
180186
'client/components/modal/modal.' + stylesheet,
181-
'client/components/modal/modal.service.' + script,
187+
'client/components/modal/modal.service.' + script
182188
]);
183189
}
184190

0 commit comments

Comments
 (0)