mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat(tools): 2.0 phase 5 wave 5b - ai pool: ocr-pdf, transcription, background composites (5 tools) (#226)
This commit is contained in:
@@ -37,14 +37,15 @@ describe("Feature manifest structure", () => {
|
||||
expect(manifest.basePackages).toBeInstanceOf(Array);
|
||||
});
|
||||
|
||||
it("all 6 bundles are defined", () => {
|
||||
expect(Object.keys(bundles)).toHaveLength(6);
|
||||
it("all 7 bundles are defined", () => {
|
||||
expect(Object.keys(bundles)).toHaveLength(7);
|
||||
expect(bundles["background-removal"]).toBeDefined();
|
||||
expect(bundles["face-detection"]).toBeDefined();
|
||||
expect(bundles["object-eraser-colorize"]).toBeDefined();
|
||||
expect(bundles["upscale-enhance"]).toBeDefined();
|
||||
expect(bundles["photo-restoration"]).toBeDefined();
|
||||
expect(bundles.ocr).toBeDefined();
|
||||
expect(bundles.transcription).toBeDefined();
|
||||
});
|
||||
|
||||
it("every bundle has required fields", () => {
|
||||
|
||||
@@ -446,7 +446,7 @@ describe("Composite state - getFeatureStates", () => {
|
||||
for (const state of states) {
|
||||
expect(state.status).toBe("not_installed");
|
||||
}
|
||||
expect(states.length).toBe(6);
|
||||
expect(states.length).toBe(7);
|
||||
});
|
||||
|
||||
it("installed bundle with valid models returns installed with version", () => {
|
||||
|
||||
Reference in New Issue
Block a user