Skip to content

Commit 1d49ec5

Browse files
committed
feat: build fixes for webwidget
1 parent b70c28a commit 1d49ec5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/__tests__/app/index.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jest.mock('@rapidaai/react', () => {
1313
DefaultConnectionConfig: jest.fn(() => ({
1414
withCustomEndpoint: jest.fn().mockReturnThis(),
1515
})),
16-
WithSDK: jest.fn(() => ({})),
16+
WithWebpluginClient: jest.fn(() => ({})),
1717
},
1818
AgentConfig: jest.fn(),
1919
InputOptions: jest.fn(),

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
"./src/types" // Ensure this directory contains globals.d.ts
1313
],
1414
"target": "es6",
15-
"module": "commonjs",
15+
"module": "es2020",
1616
"resolveJsonModule": true,
1717
"jsx": "react-jsx",
18-
"moduleResolution": "node",
18+
"moduleResolution": "bundler",
1919
"strict": true,
2020
"esModuleInterop": true
2121
},

0 commit comments

Comments
 (0)