mirror of
https://github.com/nasa/openmct.git
synced 2025-06-01 15:10:50 +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(
|
define(
|
||||||
["moment"],
|
["moment"],
|
||||||
function () {
|
function (moment) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var DATE_FORMAT = "YYYY-MM-DD";
|
var DATE_FORMAT = "YYYY-MM-DD";
|
||||||
|
@ -26,7 +26,7 @@ define(
|
|||||||
function (DateTimeController) {
|
function (DateTimeController) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
describe("The date-time directive", function () {
|
describe("The date-time controller", function () {
|
||||||
var mockScope,
|
var mockScope,
|
||||||
controller;
|
controller;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user