mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-07-23 22:07:33 +01:00
Enable original azure resource tree style for Fabric native and turn on Settings tab (#2103)
* Enable original azure resource tree for Fabric native and turn on Settings page * Fix unit tests
This commit is contained in:
@@ -373,18 +373,28 @@ describe("createDatabaseTreeNodes", () => {
|
||||
|
||||
it.each<[string, Platform, boolean, Partial<DataModels.DatabaseAccountExtendedProperties>, Partial<UserContext>]>([
|
||||
[
|
||||
"the SQL API, on Fabric read-only",
|
||||
"the SQL API, on Fabric read-only (mirrored)",
|
||||
Platform.Fabric,
|
||||
false,
|
||||
{ capabilities: [], enableMultipleWriteLocations: true },
|
||||
{ fabricContext: { isReadOnly: true } as FabricContext<CosmosDbArtifactType> },
|
||||
{
|
||||
fabricContext: {
|
||||
isReadOnly: true,
|
||||
artifactType: CosmosDbArtifactType.MIRRORED_KEY,
|
||||
} as FabricContext<CosmosDbArtifactType>,
|
||||
},
|
||||
],
|
||||
[
|
||||
"the SQL API, on Fabric non read-only",
|
||||
"the SQL API, on Fabric non read-only (native)",
|
||||
Platform.Fabric,
|
||||
false,
|
||||
{ capabilities: [], enableMultipleWriteLocations: true },
|
||||
{ fabricContext: { isReadOnly: false } as FabricContext<CosmosDbArtifactType> },
|
||||
{
|
||||
fabricContext: {
|
||||
isReadOnly: false,
|
||||
artifactType: CosmosDbArtifactType.NATIVE,
|
||||
} as FabricContext<CosmosDbArtifactType>,
|
||||
},
|
||||
],
|
||||
[
|
||||
"the SQL API, on Portal",
|
||||
|
||||
Reference in New Issue
Block a user