Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
d28f4872
Commit
d28f4872
authored
Apr 20, 2016
by
Usman Khalid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post rebase fixes.
parent
3929bf50
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
9 deletions
+20
-9
common/lib/xmodule/xmodule/js/karma_xmodule.conf.js
+6
-0
common/lib/xmodule/xmodule/js/spec/main_requirejs.js
+4
-4
common/static/common/js/karma.common.conf.js
+1
-1
common/static/common/js/spec/components/tabbed_view_spec.js
+2
-2
common/static/common/js/spec/main_requirejs.js
+1
-2
common/static/karma_common.conf.js
+6
-0
No files found.
common/lib/xmodule/xmodule/js/karma_xmodule.conf.js
View file @
d28f4872
...
...
@@ -59,6 +59,12 @@ var files = [
{
pattern
:
'common_static/js/vendor/moment.min.js'
,
included
:
true
},
{
pattern
:
'spec/main_requirejs.js'
,
included
:
true
},
{
pattern
:
'src/word_cloud/d3.min.js'
,
included
:
true
},
{
pattern
:
'common_static/js/vendor/draggabilly.js'
,
included
:
false
},
{
pattern
:
'common_static/edx-ui-toolkit/js/utils/global-loader.js'
,
included
:
true
},
{
pattern
:
'common_static/edx-pattern-library/js/modernizr-custom.js'
,
included
:
false
},
{
pattern
:
'common_static/edx-pattern-library/js/afontgarde.js'
,
included
:
false
},
{
pattern
:
'common_static/edx-pattern-library/js/edx-icons.js'
,
included
:
false
},
// Paths to source JavaScript files
{
pattern
:
'src/xmodule.js'
,
included
:
true
,
nocache
:
true
},
...
...
common/lib/xmodule/xmodule/js/spec/main_requirejs.js
View file @
d28f4872
...
...
@@ -3,10 +3,10 @@
baseUrl
:
'/base/'
,
paths
:
{
"moment"
:
"common_static/js/vendor/moment.min"
,
"modernizr"
:
"
xmodule/include/
common_static/edx-pattern-library/js/modernizr-custom"
,
"afontgarde"
:
"
xmodule/include/
common_static/edx-pattern-library/js/afontgarde"
,
"edxicons"
:
"
xmodule/include/
common_static/edx-pattern-library/js/edx-icons"
,
"draggabilly"
:
"
xmodule/include/
common_static/js/vendor/draggabilly"
"modernizr"
:
"common_static/edx-pattern-library/js/modernizr-custom"
,
"afontgarde"
:
"common_static/edx-pattern-library/js/afontgarde"
,
"edxicons"
:
"common_static/edx-pattern-library/js/edx-icons"
,
"draggabilly"
:
"common_static/js/vendor/draggabilly"
},
"moment"
:
{
exports
:
"moment"
...
...
common/static/common/js/karma.common.conf.js
View file @
d28f4872
...
...
@@ -189,7 +189,7 @@ var getConfig = function (config, useRequireJs) {
// level of logging
/* possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN
|| config.LOG_INFO || config.LOG_DEBUG */
logLevel
:
config
.
LOG_
DEBUG
,
logLevel
:
config
.
LOG_
INFO
,
// enable / disable watching file and executing tests whenever any file changes
...
...
common/static/common/js/spec/components/tabbed_view_spec.js
View file @
d28f4872
...
...
@@ -47,7 +47,7 @@
// will cause tests to fail, so we'll instead
// make _.defer() immediately invoke its
// argument.
spyOn
(
_
,
'defer'
).
and
C
allFake
(
function
(
func
)
{
spyOn
(
_
,
'defer'
).
and
.
c
allFake
(
function
(
func
)
{
func
();
});
});
...
...
@@ -88,7 +88,7 @@
describe
(
'history'
,
function
()
{
beforeEach
(
function
()
{
spyOn
(
Backbone
.
history
,
'navigate'
).
and
C
allThrough
();
spyOn
(
Backbone
.
history
,
'navigate'
).
and
.
c
allThrough
();
view
=
new
TabbedView
({
tabs
:
[{
url
:
'test 1'
,
...
...
common/static/common/js/spec/main_requirejs.js
View file @
d28f4872
...
...
@@ -37,8 +37,7 @@
'draggabilly'
:
'js/vendor/draggabilly'
,
'jasmine-stealth'
:
'js/libs/jasmine-stealth'
,
'jasmine-waituntil'
:
'js/libs/jasmine-waituntil'
,
'jasmine-extensions'
:
'js/libs/jasmine-extensions'
,
'URI'
:
'js/vendor/URI.min'
'jasmine-extensions'
:
'js/libs/jasmine-extensions'
},
shim
:
{
'gettext'
:
{
...
...
common/static/karma_common.conf.js
View file @
d28f4872
...
...
@@ -47,6 +47,12 @@ var files = [
{
pattern
:
'js/test/i18n.js'
,
included
:
true
},
{
pattern
:
'coffee/src/jquery.immediateDescendents.js'
,
included
:
true
},
{
pattern
:
'js/vendor/jquery.leanModal.js'
,
included
:
true
},
{
pattern
:
'js/vendor/draggabilly.js'
,
included
:
true
},
{
pattern
:
'edx-ui-toolkit/js/utils/global-loader.js'
,
included
:
true
},
{
pattern
:
'edx-pattern-library/js/modernizr-custom.js'
,
included
:
true
},
{
pattern
:
'edx-pattern-library/js/afontgarde.js'
,
included
:
true
},
{
pattern
:
'edx-pattern-library/js/edx-icons.js'
,
included
:
true
},
// Paths to source JavaScript files
{
pattern
:
'js/xblock/**/*.js'
,
included
:
true
,
nocache
:
true
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment