From fc8158487811be94f0d8508b64a2540e2c20e586 Mon Sep 17 00:00:00 2001 From: cheney Date: Wed, 17 Jun 2026 09:30:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=88=90=E5=8A=9F=EF=BC=8C?= =?UTF-8?q?=E5=87=86=E5=A4=87=E4=BF=AE=E6=94=B9=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kit/test/remote_test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kit/test/remote_test.js b/kit/test/remote_test.js index 115c470..d8de17d 100644 --- a/kit/test/remote_test.js +++ b/kit/test/remote_test.js @@ -50,7 +50,7 @@ afterEach(() => { }); describe("remote module public API", () => { - test("exposes documented public methods", async() => { + test("1-1 exposes documented public methods", async() => { const remote = await createRemote(); expect(typeof remote.check).toBe("function"); expect(typeof remote.publish).toBe("function"); @@ -61,12 +61,12 @@ describe("remote module public API", () => { expect(typeof remote.remove).toBe("function"); }); - test("check validates an available webdav client", async () => { + test("1-2 check validates an available webdav client", async () => { const remote = await createRemote(); expect(await remote.check()).toBe(true); }); - test("publish stores metadata and version artifacts in webdav layout", async () => { + test("1-3 publish stores metadata and version artifacts in webdav layout", async () => { const remote = await createRemote(); const projectDir = writeFixtureProject(tempDir, "1.0.0", "hello v1"); @@ -81,7 +81,7 @@ describe("remote module public API", () => { expect(metadata.versions).toContain("1.0.0"); expect(version.artifacts[0].path).toBe("any/any/myapp.txt"); expect(artifact).toBe("hello v1"); - }); + }, 30000); test("install downloads latest matching artifact and records local state", async () => { const remote = await createRemote();