1 parent
ec4f8582e6
commit
4e3a8e4110
4 files changed
+120
-11
No files matched your search
@@ -6,8 +6,10 @@ describe("databaseObjectCapabilities", () => {
|
||||
expect(sidebarObjectKindsForDatabase("dameng")).toEqual(expect.arrayContaining(["MATERIALIZED_VIEW", "SEQUENCE", "PACKAGE", "PACKAGE_BODY"]));
|
||||
});
|
||||
|
||||
it("exposes synonyms for Xugu only", () => {
|
||||
it("exposes synonyms only for database paths with synonym metadata", () => {
|
||||
expect(sidebarObjectKindsForDatabase("oracle")).toContain("SYNONYM");
|
||||
expect(sidebarObjectKindsForDatabase("xugu")).toContain("SYNONYM");
|
||||
expect(sidebarObjectKindsForDatabase("oceanbase-oracle")).not.toContain("SYNONYM");
|
||||
expect(sidebarObjectKindsForDatabase("postgres")).not.toContain("SYNONYM");
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user