mirror of
https://github.com/nasa/openmct.git
synced 2025-03-30 23:56:04 +00:00
[Build] Fix failing test
Acquire reference to moment as an argument instead of assuming global availability; this appears to be no longer be present globally after build changes
This commit is contained in:
parent
e564baba1a
commit
38e703a121
@ -23,7 +23,7 @@
|
||||
|
||||
define(
|
||||
["moment"],
|
||||
function () {
|
||||
function (moment) {
|
||||
"use strict";
|
||||
|
||||
var DATE_FORMAT = "YYYY-MM-DD";
|
||||
|
@ -26,7 +26,7 @@ define(
|
||||
function (DateTimeController) {
|
||||
"use strict";
|
||||
|
||||
describe("The date-time directive", function () {
|
||||
describe("The date-time controller", function () {
|
||||
var mockScope,
|
||||
controller;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user