Skip to content

Commit b762993

Browse files
committed
Addressed review comments by Cursor bot
1 parent 90bdc9e commit b762993

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

aap_chatbot/src/AnsibleChatbot/AnsibleChatbot.test.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
import React from "react";
2-
import { assert, beforeEach, expect, test, vi } from "vitest";
2+
import { beforeEach, expect, test, vi } from "vitest";
33
import { render } from "vitest-browser-react";
44
import { MemoryRouter } from "react-router-dom";
55
import { screen } from "@testing-library/react";
66
import { userEvent } from "@vitest/browser/context";
77
import { AnsibleChatbot } from "./AnsibleChatbot";
88
import "@vitest/browser/matchers.d.ts";
99

10-
const delay = (ms: number) => new Promise((res) => setTimeout(res, ms));
11-
1210
function mockFetchGet() {
1311
const originalFetch = global.fetch;
1412
global.fetch = vi.fn((url, options) => {

0 commit comments

Comments
 (0)