[Tests] Declare deps for moment-duration-format

...in karma test runners.
This commit is contained in:
Victor Woeltjen 2015-10-23 16:03:57 -07:00
parent ddb567aeb5
commit 8acf01ebdf
2 changed files with 8 additions and 2 deletions

View File

@ -34,7 +34,6 @@ module.exports = function(config) {
// List of files / patterns to load in the browser.
// By default, files are also included in a script tag.
files: [
'**/moment*',
{pattern: 'example/**/*.js', included: false},
{pattern: 'platform/**/*.js', included: false},
{pattern: 'warp/**/*.js', included: false},

View File

@ -44,7 +44,14 @@ require.config({
paths: {
'es6-promise': 'platform/framework/lib/es6-promise-2.0.0.min',
'moment-duration-format': 'warp/clock/lib/moment-duration-format'
'moment': 'platform/telemetry/lib/moment.min',
'moment-duration-format': 'platform/features/clock/lib/moment-duration-format'
},
shim: {
'moment-duration-format': {
deps: [ 'moment' ]
}
},
// dynamically load all test files