Skip to content

Commit

Permalink
fix(dashboard): broken test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
GerilLeto committed Oct 21, 2024
1 parent b07a3d0 commit 902e6ba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dashboard/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import tsconfigPaths from 'vite-tsconfig-paths';
import { defineConfig } from 'vitest/config';
import { dependencies, peerDependencies } from './package.json';
import { writeVersionFile } from './rollup-plugin-write-version-file';
import * as path from 'path';

const GLOBAL_MODULE_IDS = {
'crypto-js': 'CryptoJS',
Expand Down Expand Up @@ -72,7 +73,10 @@ export default defineConfig({
setupFiles: './src/test/setup.ts',
css: false,
deps: {
inline: ['echarts'],
inline: ['echarts', '@mantine/dates'],
},
alias: {
'dayjs/plugin': path.resolve(__dirname, '../node_modules/dayjs/plugin'),
},
},
resolve: {
Expand Down

0 comments on commit 902e6ba

Please sign in to comment.