mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Lint: comma-spacing (error) & comma-dangle (error) (#4200)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
02e77afcd1
commit
c6dce043a7
406 files changed
+1590
-1580
No files matched your search
@@ -51,8 +51,8 @@ const mockHotbars: { [id: string]: any } = {
|
||||
"1": {
|
||||
id: "1",
|
||||
name: "Default",
|
||||
items: [] as any
|
||||
}
|
||||
items: [] as any,
|
||||
},
|
||||
};
|
||||
|
||||
jest.mock("../../../../common/hotbar-store", () => ({
|
||||
@@ -61,15 +61,15 @@ jest.mock("../../../../common/hotbar-store", () => ({
|
||||
hotbars: [mockHotbars["1"]],
|
||||
getById: (id: string) => mockHotbars[id],
|
||||
remove: () => {},
|
||||
hotbarIndex: () => 0
|
||||
})
|
||||
}
|
||||
hotbarIndex: () => 0,
|
||||
}),
|
||||
},
|
||||
}));
|
||||
|
||||
describe("<HotbarRemoveCommand />", () => {
|
||||
beforeEach(() => {
|
||||
mockFs({
|
||||
"tmp": {}
|
||||
"tmp": {},
|
||||
});
|
||||
UserStore.createInstance();
|
||||
ThemeStore.createInstance();
|
||||
|
||||
Reference in new issue
Block a user