mirror of
https://github.com/nasa/openmct.git
synced 2025-01-31 08:25:31 +00:00
[Tests] Declare deps for moment-duration-format
...in karma test runners.
This commit is contained in:
parent
ddb567aeb5
commit
8acf01ebdf
@ -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},
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user