perf: speed contract test imports

This commit is contained in:
Peter Steinberger
2026-04-29 05:37:05 +01:00
parent 3aadeba93f
commit 02c4249632
6 changed files with 59 additions and 48 deletions

View File

@@ -1,8 +1,8 @@
import fs from "node:fs";
import path from "node:path";
import { GUARDED_EXTENSION_PUBLIC_SURFACE_BASENAMES } from "openclaw/plugin-sdk/plugin-test-contracts";
import { BUNDLED_PLUGIN_PATH_PREFIX } from "openclaw/plugin-sdk/test-fixtures";
import { describe, expect, it } from "vitest";
import { GUARDED_EXTENSION_PUBLIC_SURFACE_BASENAMES } from "../src/plugin-sdk/test-helpers/public-artifacts.js";
const repoRoot = path.resolve(import.meta.dirname, "..");
const ALLOWED_EXTENSION_PUBLIC_SURFACE_BASENAMES = new Set(