mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 11:00:42 +00:00
fix(release): ignore leaf test filenames
This commit is contained in:
@@ -416,6 +416,15 @@ describe("collectPackedTestCargoErrors", () => {
|
||||
).toEqual([]);
|
||||
});
|
||||
|
||||
it("allows leaf runtime filenames named test or tests", () => {
|
||||
expect(
|
||||
collectPackedTestCargoErrors([
|
||||
"dist/extensions/fixture-plugin/node_modules/direct/bin/test",
|
||||
"dist/extensions/fixture-plugin/node_modules/direct/bin/tests",
|
||||
]),
|
||||
).toEqual([]);
|
||||
});
|
||||
|
||||
it("normalizes Windows or mixed separators before classifying test cargo", () => {
|
||||
expect(
|
||||
collectPackedTestCargoErrors([
|
||||
|
||||
Reference in New Issue
Block a user