fix(connection): parse OceanBase JDBC URLs
This commit is contained in:
1 parent
6304335fcc
commit
9774a194ec
5 files changed
+107
-17
No files matched your search
+2
-3
@@ -1,6 +1,6 @@
|
||||
// @vitest-environment happy-dom
|
||||
|
||||
import { createApp, nextTick, type App, type ComputedRef, type InjectionKey } from "vue";
|
||||
import { createApp, defineComponent, h, nextTick, type App, type ComputedRef, type InjectionKey } from "vue";
|
||||
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
|
||||
|
||||
const backend = vi.hoisted(() => ({
|
||||
@@ -93,8 +93,7 @@ vi.mock("@/stores/settingsStore", () => ({
|
||||
useSettingsStore: () => settings,
|
||||
}));
|
||||
|
||||
vi.mock("@/components/grid/DataGrid.vue", async () => {
|
||||
const { defineComponent, h } = await import("vue");
|
||||
vi.mock("@/components/grid/DataGrid.vue", () => {
|
||||
return {
|
||||
default: defineComponent({
|
||||
name: "DataGridStub",
|
||||
|
||||
+3
-4
@@ -1,7 +1,8 @@
|
||||
// @vitest-environment happy-dom
|
||||
|
||||
import { createApp, nextTick, type App } from "vue";
|
||||
import { createApp, defineComponent, h, nextTick, type App } from "vue";
|
||||
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import { isDataGridPrefixAppend } from "@/lib/dataGrid/dataGridInfiniteScroll";
|
||||
|
||||
const backend = vi.hoisted(() => ({
|
||||
documentFindDocuments: vi.fn(),
|
||||
@@ -77,9 +78,7 @@ vi.mock("@/stores/settingsStore", () => ({
|
||||
useSettingsStore: () => settings,
|
||||
}));
|
||||
|
||||
vi.mock("@/components/grid/DataGrid.vue", async () => {
|
||||
const { defineComponent, h } = await import("vue");
|
||||
const { isDataGridPrefixAppend } = await import("@/lib/dataGrid/dataGridInfiniteScroll");
|
||||
vi.mock("@/components/grid/DataGrid.vue", () => {
|
||||
return {
|
||||
default: defineComponent({
|
||||
name: "DataGridStub",
|
||||
|
||||
Reference in new issue
Block a user