mirror of
https://github.com/nasa/openmct.git
synced 2025-04-08 20:04:27 +00:00
lint fixes
This commit is contained in:
parent
2fa8a8d61d
commit
52500f6097
@ -15,6 +15,7 @@ export default class ISOTimeFormat {
|
||||
if (typeof text === 'number' || text === undefined) {
|
||||
return text;
|
||||
}
|
||||
|
||||
return Date.parse(text);
|
||||
}
|
||||
|
||||
|
@ -3,5 +3,5 @@ import ISOTimeFormat from './ISOTimeFormat';
|
||||
export default function () {
|
||||
return function install(openmct) {
|
||||
openmct.telemetry.addFormat(new ISOTimeFormat());
|
||||
}
|
||||
};
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ describe("the plugin", () => {
|
||||
|
||||
beforeAll(() => {
|
||||
resetApplicationState();
|
||||
})
|
||||
});
|
||||
|
||||
beforeEach((done) => {
|
||||
openmct = createOpenMct();
|
||||
|
Loading…
x
Reference in New Issue
Block a user