feat(nebula): add NebulaGraph 3.x browser support
This commit is contained in:
1 parent
e59a8c1bd4
commit
ef05a6a19b
69 files changed
+1737
-41
No files matched your search
@@ -82,6 +82,15 @@ mod tests {
|
||||
assert!(!driver_store_entries().any(|(key, _)| key.starts_with("transwarp-")));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn nebula_v3_profile_reuses_the_legacy_agent_package() {
|
||||
for profile in [None, Some("nebula"), Some("nebula-v3")] {
|
||||
assert_eq!(agent_key(&DatabaseType::Nebula, profile), Some("nebula"));
|
||||
}
|
||||
assert_eq!(driver_store_entries().filter(|(key, _)| *key == "nebula").count(), 1);
|
||||
assert!(!driver_store_entries().any(|(key, _)| key == "nebula-v3"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn h2_profiles_share_the_same_agent() {
|
||||
assert_eq!(agent_key(&DatabaseType::H2, None), Some("h2"));
|
||||
|
||||
Reference in new issue
Block a user