Skip to content

Commit

Permalink
fix(libs): export expected libs (#5478)
Browse files Browse the repository at this point in the history
  • Loading branch information
pearmini committed Aug 29, 2023
1 parent 437b8c3 commit 564b3a6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
19 changes: 19 additions & 0 deletions __tests__/unit/lib/lib.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import {
stdlib,
corelib,
plotlib,
geolib,
threedlib,
graphlib,
} from '../../../src';

describe('libs', () => {
it('should export expected lib.', () => {
expect(stdlib).toBeDefined();
expect(corelib).toBeDefined();
expect(plotlib).toBeDefined();
expect(geolib).toBeDefined();
expect(threedlib).toBeDefined();
expect(graphlib).toBeDefined();
});
});
10 changes: 9 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@ export {
AREA_CLASS_NAME,
} from './runtime';

export { corelib, stdlib, litelib, threedlib } from './lib';
export {
corelib,
stdlib,
litelib,
graphlib,
plotlib,
geolib,
threedlib,
} from './lib';

export * from './mark';

Expand Down

0 comments on commit 564b3a6

Please sign in to comment.