Added className to SelfServeBaseClass (#627)

* Added className to SelfServeBaseClass

* addressed PR comments

* addressed PR comments

* fixed lint errors
This commit is contained in:
Srinath Narayanan
2021-04-07 11:17:15 -07:00
committed by GitHub
parent 4f22d308b3
commit d2423f28dc
5 changed files with 13 additions and 13 deletions

View File

@@ -150,7 +150,6 @@ describe("SelfServeUtils", () => {
]);
const expectedDescriptor = {
root: {
id: "TestClass",
children: [
{
id: "dbThroughput",
@@ -270,7 +269,7 @@ describe("SelfServeUtils", () => {
"invalidRegions",
],
};
const descriptor = mapToSmartUiDescriptor("TestClass", context);
const descriptor = mapToSmartUiDescriptor(context);
expect(descriptor).toEqual(expectedDescriptor);
});
});