Skip to content

Commit

Permalink
intergrate pdfium into other projects
Browse files Browse the repository at this point in the history
  • Loading branch information
jichang committed May 18, 2024
1 parent 68b14a0 commit c2660e8
Show file tree
Hide file tree
Showing 21 changed files with 6,392 additions and 1,133 deletions.
2 changes: 1 addition & 1 deletion packages/engines/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@
"overrides": {
"lmdb": "2.6.0"
}
}
}
4 changes: 2 additions & 2 deletions packages/engines/src/pdfium/engine.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { WrappedPdfiumModule } from '@unionpdf/pdfium';
import { PdfiumEngine } from './engine';
import { PdfiumModule } from './pdfium';

describe('PdfiumEngine', () => {
it('should return module with cwrap function', () => {
Expand All @@ -11,7 +11,7 @@ describe('PdfiumEngine', () => {
argTypes,
};
},
} as unknown as PdfiumModule;
} as unknown as WrappedPdfiumModule;
const engine = new PdfiumEngine(wasmModule);

expect(engine).toBeDefined();
Expand Down
Loading

0 comments on commit c2660e8

Please sign in to comment.