Skip to content

Commit

Permalink
fix: remove unnecessary dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
s0ftik3 authored Dec 24, 2023
2 parents 9cf368b + 5d06c35 commit 5d79ad0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions dev/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { ChartData, ChartDataset } from 'chart.js'
import { number } from 'minifaker'

export const generateRandomDataset = (labels: string[], index: number) => ({
label: 'Dataset ' + index,
data: labels.map(() => number({ min: -100, max: 100 })),
data: labels.map(() => Math.random() * 200 - 100),
})

export const generateRandomChartData = (datasetsLength = 2): ChartData => {
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@
"vitest": "^0.31.0",
"vitest-canvas-mock": "^0.2.2"
},
"dependencies": {
"minifaker": "^1.34.1"
},
"keywords": [
"solid",
"solidjs",
Expand Down

0 comments on commit 5d79ad0

Please sign in to comment.