diff --git a/src/lib/events.ts b/src/lib/events.ts index 618c7b8a..e686aa94 100644 --- a/src/lib/events.ts +++ b/src/lib/events.ts @@ -91,7 +91,6 @@ class EventManager { this.impressionId = this.impressionId ?? uuidv4() const context = getCurrentContext() const eventsEndpointMapper = ENV.OS_RAISE_EVENTSAPI_URL_MAP as Record - console.log('host', context.location.host) const eventsEndpoint = eventsEndpointMapper[context.location.host] if (context.courseId === undefined || eventsEndpoint === undefined || window.M === undefined) { diff --git a/src/tests/EventControlledContent.test.tsx b/src/tests/EventControlledContent.test.tsx index 252e4b63..aa572e0f 100644 --- a/src/tests/EventControlledContent.test.tsx +++ b/src/tests/EventControlledContent.test.tsx @@ -1,7 +1,7 @@ import { render, screen, fireEvent } from '@testing-library/react' import { EventControlledContent } from '../components/EventControlledContent' -import { vi, test, expect } from 'vitest' +import { test, expect } from 'vitest' test('EventControlledContent does not render children if waitForEvent does not fire', async () => { render( diff --git a/src/tests/MoodleApi.test.ts b/src/tests/MoodleApi.test.ts index 71eff188..8259d36e 100644 --- a/src/tests/MoodleApi.test.ts +++ b/src/tests/MoodleApi.test.ts @@ -1,7 +1,7 @@ import { MoodleApi } from '../moodleapi' import { setupServer } from 'msw/node' import { http, HttpResponse } from 'msw' -import { vi, test, expect, beforeAll, afterEach, afterAll} from 'vitest' +import { test, expect, beforeAll, afterEach, afterAll} from 'vitest' const server = setupServer( http.post('http://moodle/lib/ajax/service.php', () => { diff --git a/src/tests/kas.test.ts b/src/tests/kas.test.ts index c0e12dc7..6688c216 100644 --- a/src/tests/kas.test.ts +++ b/src/tests/kas.test.ts @@ -1,5 +1,5 @@ import { parse, compare } from '@khanacademy/kas' -import { vi, test, expect } from 'vitest' +import { test, expect } from 'vitest' test('Test kas', async () => { const options = {