chore: unify zip installs around dist
This commit is contained in:
@@ -6,7 +6,7 @@ import { describe, expect, test } from "vitest";
|
||||
import { createReleaseArchive } from "../scripts/package-release-archive.mjs";
|
||||
|
||||
describe("package-release-archive", () => {
|
||||
test("creates a zip archive with a top-level release folder", async () => {
|
||||
test("creates a zip archive with a top-level dist folder", async () => {
|
||||
const tempDir = await mkdtemp(path.join(os.tmpdir(), "release-archive-"));
|
||||
const sourceDir = path.join(tempDir, "source");
|
||||
const archivePath = path.join(tempDir, "archive.zip");
|
||||
@@ -21,8 +21,6 @@ describe("package-release-archive", () => {
|
||||
|
||||
const archive = await readFile(archivePath);
|
||||
expect(archive.byteLength).toBeGreaterThan(0);
|
||||
expect(archive.toString("utf8")).toContain(
|
||||
"star-chart-search-enhancer-internal/hello.txt"
|
||||
);
|
||||
expect(archive.toString("utf8")).toContain("dist/hello.txt");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user