[Query Copilot V2] Restructure code for V2 of copilot (#1577)

* Initial folder and code restructure

* Add snapshots

* Remove flag for local testing

* Remove unnecessary code

* Fix snapshot

* Update tests
This commit is contained in:
v-darkora
2023-08-16 10:10:21 +02:00
committed by GitHub
parent 96b88ac344
commit ceb66ed5b8
24 changed files with 963 additions and 253 deletions

View File

@@ -0,0 +1,10 @@
import { shallow } from "enzyme";
import React from "react";
import { QueryCopilotSidebar } from "./QueryCopilotSidebar";
describe("Footer snapshot test", () => {
it("should render ", () => {
const wrapper = shallow(<QueryCopilotSidebar />);
expect(wrapper).toMatchSnapshot();
});
});