Skip to content

Commit

Permalink
Add x-charts LineChart mock
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelemeny authored and JulesVautier committed Jun 13, 2024
1 parent 13d7848 commit ed60163
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions quickwit/quickwit-ui/mocks/x-charts.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const LineChart = ({ children }) => children;
3 changes: 2 additions & 1 deletion quickwit/quickwit-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@
"jest": {
"moduleNameMapper": {
"monaco-editor": "<rootDir>/mocks/monacoMock.js",
"swagger-ui-react": "<rootDir>/mocks/swaggerUIMock.js"
"swagger-ui-react": "<rootDir>/mocks/swaggerUIMock.js",
"@mui/x-charts": "<rootDir>/mocks/x-charts.js"
}
}
}

0 comments on commit ed60163

Please sign in to comment.