Skip to content

Commit

Permalink
test: fix mock name
Browse files Browse the repository at this point in the history
  • Loading branch information
cuixiaorui committed Jul 7, 2024
1 parent 21fe9f2 commit b1d6cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/client/store/tests/course.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ vi.mock("../statement.ts", () => {
return {
useStatement: () => {
const returnObj = {
setupStatement(course: Ref<Course | undefined>) {
setupAutoSaveProgress(course: Ref<Course | undefined>) {
returnObj.statementIndex.value = course.value?.statementIndex!;
},
statementIndex: ref(0),
Expand Down

0 comments on commit b1d6cfb

Please sign in to comment.