mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-31 14:16:39 +01:00
Narrow plugin loader regression assertion
This commit is contained in:
1 parent
59b5d2f1c2
commit
28862de57b
1 file changed
-8
@@ -12,14 +12,6 @@ describe("external adapter plugin loader", () => {
|
||||
(match) => match[1],
|
||||
);
|
||||
|
||||
expect(importSpecifiers).toEqual([
|
||||
"node:fs",
|
||||
"node:path",
|
||||
"./types.js",
|
||||
"../middleware/logger.js",
|
||||
"../services/adapter-plugin-store.js",
|
||||
"../services/adapter-plugin-store.js",
|
||||
]);
|
||||
expect(source).toContain("await import(modulePath)");
|
||||
expect(importSpecifiers.filter((specifier) => specifier.startsWith("../adapters/"))).toEqual([]);
|
||||
expect(importSpecifiers.filter((specifier) => specifier.startsWith("@paperclipai/"))).toEqual([]);
|
||||
|
||||
Reference in new issue
Block a user