mirror of
https://github.com/nasa/openmct.git
synced 2025-06-17 14:48:13 +00:00
[Frontend] Removing glyph definitions; updating tests
Fixes #1047 Search and removal of "glyph" definitions in bundle and other JS files; updating tests accordingly;
This commit is contained in:
@ -46,7 +46,7 @@ define(
|
||||
);
|
||||
testStructure = {
|
||||
name: "A Test",
|
||||
glyph: "T",
|
||||
cssclass: "icon-T",
|
||||
description: "Test description",
|
||||
control: "dialog-button",
|
||||
title: "Test title",
|
||||
@ -83,7 +83,7 @@ define(
|
||||
mockScope.$watch.mostRecentCall.args[1](testStructure);
|
||||
|
||||
buttonStructure = controller.getButtonStructure();
|
||||
expect(buttonStructure.glyph).toEqual(testStructure.glyph);
|
||||
expect(buttonStructure.cssclass).toEqual(testStructure.cssclass);
|
||||
expect(buttonStructure.description).toEqual(testStructure.description);
|
||||
expect(buttonStructure.name).toEqual(testStructure.name);
|
||||
expect(buttonStructure.click).toEqual(jasmine.any(Function));
|
||||
|
Reference in New Issue
Block a user