Skip to content

Commit

Permalink
feat(teach-frontend): 18-解决 indexedDB is not defined 报错
Browse files Browse the repository at this point in the history
  • Loading branch information
cuixiaorui committed Jul 24, 2023
1 parent 7e2c427 commit 9df5754
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/teach-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@vue/test-utils": "^2.2.10",
"@vueuse/core": "^9.10.0",
"cross-env": "^7.0.3",
"fake-indexeddb": "^4.0.2",
"flush-promises": "^1.0.2",
"fs-extra": "^11.1.0",
"glob": "^8.1.0",
Expand Down
1 change: 1 addition & 0 deletions apps/teach-frontend/vitest.setup.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'fake-indexeddb/auto'
import {
VueRouterMock,
createRouterMock,
Expand Down
2 changes: 2 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9df5754

Please sign in to comment.