Fix import/no-named-as-default violations
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import * as React from "react";
|
||||
import { render as reactRender, screen } from "@testing-library/react";
|
||||
import userEvent from "@testing-library/user-event";
|
||||
import { userEvent } from "@testing-library/user-event";
|
||||
import { CodePaths, CodePathsProps } from "../CodePaths";
|
||||
|
||||
import { createMockCodeFlows } from "../../../../../test/factories/variant-analysis/shared/CodeFlow";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import * as React from "react";
|
||||
import { render as reactRender, screen } from "@testing-library/react";
|
||||
import userEvent from "@testing-library/user-event";
|
||||
import { userEvent } from "@testing-library/user-event";
|
||||
import {
|
||||
MethodModelingInputs,
|
||||
MethodModelingInputsProps,
|
||||
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
MultipleModeledMethodsPanel,
|
||||
MultipleModeledMethodsPanelProps,
|
||||
} from "../MultipleModeledMethodsPanel";
|
||||
import userEvent from "@testing-library/user-event";
|
||||
import { userEvent } from "@testing-library/user-event";
|
||||
import { ModeledMethod } from "../../../model-editor/modeled-method";
|
||||
import { QueryLanguage } from "../../../common/query-language";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import * as React from "react";
|
||||
import { render as reactRender, screen } from "@testing-library/react";
|
||||
import { createMethod } from "../../../../test/factories/model-editor/method-factories";
|
||||
import { LibraryRow, LibraryRowProps } from "../LibraryRow";
|
||||
import userEvent from "@testing-library/user-event";
|
||||
import { userEvent } from "@testing-library/user-event";
|
||||
import { createMockModelEditorViewState } from "../../../../test/factories/model-editor/view-state";
|
||||
|
||||
describe(LibraryRow.name, () => {
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
import { createMethod } from "../../../../test/factories/model-editor/method-factories";
|
||||
import { MethodRow, MethodRowProps } from "../MethodRow";
|
||||
import { ModeledMethod } from "../../../model-editor/modeled-method";
|
||||
import userEvent from "@testing-library/user-event";
|
||||
import { userEvent } from "@testing-library/user-event";
|
||||
import { createMockModelEditorViewState } from "../../../../test/factories/model-editor/view-state";
|
||||
|
||||
describe(MethodRow.name, () => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import * as React from "react";
|
||||
import { render, screen } from "@testing-library/react";
|
||||
import { ModelKindDropdown } from "../ModelKindDropdown";
|
||||
import userEvent from "@testing-library/user-event";
|
||||
import { userEvent } from "@testing-library/user-event";
|
||||
import {
|
||||
createNoneModeledMethod,
|
||||
createSinkModeledMethod,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import * as React from "react";
|
||||
import { render as reactRender, screen } from "@testing-library/react";
|
||||
import userEvent from "@testing-library/user-event";
|
||||
import { userEvent } from "@testing-library/user-event";
|
||||
import { QueryDetails, QueryDetailsProps } from "../QueryDetails";
|
||||
|
||||
describe(QueryDetails.name, () => {
|
||||
|
||||
@@ -9,7 +9,7 @@ import {
|
||||
VariantAnalysisRepoStatus,
|
||||
VariantAnalysisScannedRepositoryDownloadStatus,
|
||||
} from "../../../variant-analysis/shared/variant-analysis";
|
||||
import userEvent from "@testing-library/user-event";
|
||||
import { userEvent } from "@testing-library/user-event";
|
||||
import { RepoRow, RepoRowProps } from "../RepoRow";
|
||||
import { createMockRepositoryWithMetadata } from "../../../../test/factories/variant-analysis/shared/repository";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import * as React from "react";
|
||||
import { render as reactRender, screen } from "@testing-library/react";
|
||||
import userEvent from "@testing-library/user-event";
|
||||
import { userEvent } from "@testing-library/user-event";
|
||||
import { VariantAnalysisStatus } from "../../../variant-analysis/shared/variant-analysis";
|
||||
import {
|
||||
VariantAnalysisActions,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import * as React from "react";
|
||||
import { act, render as reactRender, screen } from "@testing-library/react";
|
||||
import userEvent from "@testing-library/user-event";
|
||||
import { userEvent } from "@testing-library/user-event";
|
||||
import {
|
||||
VariantAnalysisRepoStatus,
|
||||
VariantAnalysisScannedRepositoryDownloadStatus,
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
VariantAnalysisStats,
|
||||
VariantAnalysisStatsProps,
|
||||
} from "../VariantAnalysisStats";
|
||||
import userEvent from "@testing-library/user-event";
|
||||
import { userEvent } from "@testing-library/user-event";
|
||||
|
||||
describe(VariantAnalysisStats.name, () => {
|
||||
const onViewLogsClick = jest.fn();
|
||||
|
||||
Reference in New Issue
Block a user