mirror of
https://github.com/nasa/openmct.git
synced 2025-02-12 05:35:56 +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.
|
// List of files / patterns to load in the browser.
|
||||||
// By default, files are also included in a script tag.
|
// By default, files are also included in a script tag.
|
||||||
files: [
|
files: [
|
||||||
'**/moment*',
|
|
||||||
{pattern: 'example/**/*.js', included: false},
|
{pattern: 'example/**/*.js', included: false},
|
||||||
{pattern: 'platform/**/*.js', included: false},
|
{pattern: 'platform/**/*.js', included: false},
|
||||||
{pattern: 'warp/**/*.js', included: false},
|
{pattern: 'warp/**/*.js', included: false},
|
||||||
|
@ -44,7 +44,14 @@ require.config({
|
|||||||
|
|
||||||
paths: {
|
paths: {
|
||||||
'es6-promise': 'platform/framework/lib/es6-promise-2.0.0.min',
|
'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
|
// dynamically load all test files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user