mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix(meme-generator): add opentype.js types, fix no-dropzone registry test
This commit is contained in:
@@ -296,8 +296,9 @@ describe("toolRegistry", () => {
|
||||
});
|
||||
|
||||
it("tools with no-dropzone display mode have a ResultsPanel", () => {
|
||||
const selfContainedTools = new Set(["meme-generator"]);
|
||||
for (const [toolId, entry] of toolRegistry) {
|
||||
if (entry.displayMode === "no-dropzone") {
|
||||
if (entry.displayMode === "no-dropzone" && !selfContainedTools.has(toolId)) {
|
||||
expect(entry.ResultsPanel, `missing ResultsPanel for ${toolId}`).toBeDefined();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user