Remove unnecessary console.logs

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
This commit is contained in:
Juho Heikka committed 2022-08-01 15:58:42 +03:00
1 parent dee2b5c66c
commit c3c0b71ba3
2 files changed
-3

No files matched your search

@@ -15,8 +15,6 @@ function getNameFromId(id: string) {
function captureWithId(eventBus: EventEmitter<[AppEvent]>, id: string, action: string) {
const target = getNameFromId(id);
console.log(`[captureWithId]: ${target}`);
eventBus.emit({
name: target,
action,
@@ -25,7 +25,6 @@ describe("auto capture with id", () => {
});
it("calls event bus", () => {
console.log(capture);
capture("foo_bar-baz", "click");
expect(emitEvent).toHaveBeenCalledWith({
name: "Foo Bar Baz",