-
Notifications
You must be signed in to change notification settings - Fork 171
Expand file tree
/
Copy pathmain.no_ngload.js
More file actions
26 lines (21 loc) · 807 Bytes
/
main.no_ngload.js
File metadata and controls
26 lines (21 loc) · 807 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*jslint browser: true, node: true, nomen: true */
require.config({
// The baseUrl depends on what is defined in karma.unit.js:basePath
baseUrl: "/base",
// alias libraries paths
paths: {
'angular': 'bower_components/angular/angular',
'angular-mocks': 'bower_components/angular-mocks/angular-mocks',
'angularAMD': 'src/angularAMD',
'ngload': 'src/ngload',
'app_no_ngload': 'test/unit/lib/app_no_ngload'
},
shim: {
'angularAMD': ['angular'],
'angular': { exports: 'angular' }
},
// controllerSpec is at the end of dependency tree so kicking it off will start entire test
deps: ['test/unit/app_no_ngload.spec'],
// start test run, once Require.js is done
callback: window.__karma__.start
});