Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,17 @@ import { EditorEntityTab, EditorViewMode } from "IDE/Interfaces/EditorTypes";
import { PageFactory } from "test/factories/PageFactory";
import { JSObjectFactory } from "test/factories/Actions/JSObject";

// Mock the LazyCodeEditor component
jest.mock("components/editorComponents/LazyCodeEditor/index", () => {
return {
__esModule: true,
default: () => <div data-testid="t--code-editor" />,
};
});

const basePageId = "0123456789abcdef00000000";

// eslint-disable-next-line jest/no-disabled-tests
describe.skip("IDE Render: JS", () => {
describe("IDE Render: JS", () => {
describe("JS Blank State", () => {
it("Renders Fullscreen Blank State", async () => {
const { findByText, getByRole, getByText } = render(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,25 @@ import { GoogleSheetFactory } from "test/factories/Actions/GoogleSheetFactory";

const basePageId = "0123456789abcdef00000000";

// eslint-disable-next-line jest/no-disabled-tests
describe.skip("IDE URL rendering of Queries", () => {
// Mock the LazyCodeEditor component
jest.mock("components/editorComponents/LazyCodeEditor/index", () => {
return {
__esModule: true,
default: () => <div data-testid="t--code-editor" />,
};
});
// Mock Visualization component
jest.mock(
"PluginActionEditor/components/PluginActionResponse/components/Visualization/Visualization.tsx",
() => {
return {
__esModule: true,
Visualization: () => <div data-testid="t--mock-visualization" />,
};
},
);

describe("IDE URL rendering of Queries", () => {
describe("Query Blank State", () => {
it("Renders Fullscreen Blank State", async () => {
const { findByText, getByRole, getByText } = render(
Expand Down
Loading