Skip to content

Commit

Permalink
Add unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Aug 1, 2023
1 parent 0186f91 commit 9fb82bb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, expect, it } from 'vitest';
import { pdfjs, Document, Outline, Page } from './index.js';
import { pdfjs, Document, Outline, Page, Thumbnail } from './index.js';

describe('default entry', () => {
describe('has pdfjs exported properly', () => {
Expand Down Expand Up @@ -27,4 +27,8 @@ describe('default entry', () => {
it('has Page exported properly', () => {
expect(Page).toBeInstanceOf(Object);
});

it('has Thumbnail exported properly', () => {
expect(Thumbnail).toBeInstanceOf(Object);
});
});

0 comments on commit 9fb82bb

Please sign in to comment.