mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 03:41:37 +00:00
test(secrets): skip windows ACL-sensitive file-provider runtime tests
This commit is contained in:
committed by
Peter Steinberger
parent
b84d7796be
commit
060ede8aaa
@@ -86,6 +86,9 @@ describe("secrets runtime snapshot", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("resolves file refs via configured file provider", async () => {
|
it("resolves file refs via configured file provider", async () => {
|
||||||
|
if (process.platform === "win32") {
|
||||||
|
return;
|
||||||
|
}
|
||||||
const root = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-secrets-file-provider-"));
|
const root = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-secrets-file-provider-"));
|
||||||
const secretsPath = path.join(root, "secrets.json");
|
const secretsPath = path.join(root, "secrets.json");
|
||||||
try {
|
try {
|
||||||
@@ -143,6 +146,9 @@ describe("secrets runtime snapshot", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("fails when file provider payload is not a JSON object", async () => {
|
it("fails when file provider payload is not a JSON object", async () => {
|
||||||
|
if (process.platform === "win32") {
|
||||||
|
return;
|
||||||
|
}
|
||||||
const root = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-secrets-file-provider-bad-"));
|
const root = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-secrets-file-provider-bad-"));
|
||||||
const secretsPath = path.join(root, "secrets.json");
|
const secretsPath = path.join(root, "secrets.json");
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user