mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
test: avoid more filter allocation assertions
This commit is contained in:
@@ -10,7 +10,7 @@ const repoRoot = path.resolve(import.meta.dirname, "..");
|
||||
type PluginNpmRuntimeBuildPlan = NonNullable<ReturnType<typeof resolvePluginNpmRuntimeBuildPlan>>;
|
||||
|
||||
function expectDistRelativePaths(paths: string[]) {
|
||||
expect(paths.filter((entry) => !entry.startsWith("./dist/"))).toEqual([]);
|
||||
expect(paths.every((entry) => entry.startsWith("./dist/"))).toBe(true);
|
||||
}
|
||||
|
||||
function expectPluginNpmRuntimeBuildPlan(
|
||||
|
||||
Reference in New Issue
Block a user