1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Remove unnecessary console.logs

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
This commit is contained in:
Juho Heikka 2022-07-06 17:47:46 +03:00
parent dee2b5c66c
commit c3c0b71ba3
2 changed files with 0 additions and 3 deletions

View File

@ -15,8 +15,6 @@ function getNameFromId(id: string) {
function captureWithId(eventBus: EventEmitter<[AppEvent]>, id: string, action: string) { function captureWithId(eventBus: EventEmitter<[AppEvent]>, id: string, action: string) {
const target = getNameFromId(id); const target = getNameFromId(id);
console.log(`[captureWithId]: ${target}`);
eventBus.emit({ eventBus.emit({
name: target, name: target,
action, action,

View File

@ -25,7 +25,6 @@ describe("auto capture with id", () => {
}); });
it("calls event bus", () => { it("calls event bus", () => {
console.log(capture);
capture("foo_bar-baz", "click"); capture("foo_bar-baz", "click");
expect(emitEvent).toHaveBeenCalledWith({ expect(emitEvent).toHaveBeenCalledWith({
name: "Foo Bar Baz", name: "Foo Bar Baz",