mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-07-07 05:15:21 +00:00
feat: add WebDAV journal storage support
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { getRemoteConfigurationDescription } from "./remoteConfigDisplay";
|
||||
|
||||
describe("getRemoteConfigurationDescription", () => {
|
||||
it("should mask credentials and query parameters in WebDAV connection strings", () => {
|
||||
expect(
|
||||
getRemoteConfigurationDescription(
|
||||
"sls+webdav://user:pass@example.com/dav?prefix=vault%2F&headers=Authorization%3A%20Bearer%20token"
|
||||
)
|
||||
).toBe("https://example.com/dav");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user