FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
frontend/static/test/javascripts-legacy/main.js at test · devhttps/frontend · GitHub
devhttps
/
frontend
Public
forked from
guardian/frontend
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
frontend
/
static
/
test
/
javascripts-legacy
/
main.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
54 lines (50 loc) · 2.29 KB
Breadcrumbs
frontend
/
static
/
test
/
javascripts-legacy
/
main.js
Copy path
File metadata and controls
54 lines (50 loc) · 2.29 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*global requirejs*/
var
tests
=
[
]
;
for
(
var
file
in
window
.
__karma__
.
files
)
{
if
(
/
.
*
\.
s
p
e
c
\.
j
s
$
/
.
test
(
file
)
)
{
tests
.
push
(
file
)
;
}
}
requirejs
.
config
(
{
// Karma serves files from '/base'
baseUrl
:
'/base/static/transpiled/javascripts'
,
paths
:
{
admin
:
'projects/admin'
,
common
:
'projects/common'
,
facia
:
'projects/facia'
,
membership
:
'projects/membership'
,
commercial
:
'projects/commercial'
,
journalism
:
'projects/journalism'
,
bean
:
'/base/node_modules/bean/bean'
,
bonzo
:
'/base/node_modules/bonzo/bonzo'
,
'react/addons'
:
'/base/node_modules/react/dist/react-with-addons'
,
EventEmitter
:
'/base/node_modules/wolfy87-eventemitter/EventEmitter'
,
fastclick
:
'/base/node_modules/fastclick/fastclick'
,
fastdom
:
'/base/node_modules/fastdom/index'
,
fence
:
'/base/node_modules/fence/fence'
,
lodash
:
'/base/node_modules/lodash-amd/compat'
,
qwery
:
'/base/node_modules/qwery/qwery'
,
rangefix
:
'/base/node_modules/rangefix/rangefix'
,
reqwest
:
'/base/node_modules/reqwest/reqwest'
,
videojs
:
'/base/node_modules/video.js'
,
'videojs-ads-lib'
:
'/base/node_modules/videojs-contrib-ads'
,
raven
:
'/base/node_modules/raven-js/dist/raven'
,
'ophan/ng'
:
'/base/node_modules/ophan-tracker-js/build/ophan.ng'
,
analytics
:
'projects/common/modules/analytics/analytics'
,
picturefill
:
'lib/picturefill'
,
// Test specific paths
omniture
:
'/base/static/vendor/javascripts/omniture/omniture'
,
squire
:
'/base/static/test/javascripts-legacy/components/squire/src/Squire'
,
fixtures
:
'/base/static/test/javascripts-legacy/fixtures'
,
helpers
:
'/base/static/test/javascripts-legacy/helpers'
,
svgs
:
'/base/static/src/inline-svgs'
,
// plugins
'raw-loader'
:
'/base/static/test/javascripts-legacy/helpers/raw-loader'
,
'lib/raven'
:
'/base/static/test/javascripts-legacy/fixtures/raven'
}
}
)
;
require
(
[
'lodash/collections/toArray'
]
,
function
(
toArray
)
{
require
(
tests
,
function
(
)
{
Promise
.
all
(
toArray
(
arguments
)
)
.
then
(
window
.
__karma__
.
start
)
;
}
)
;
}
)
;
Back
|
FazBrowse Home
|
New Git URL