Skip to content

Commit 4f3755a

Browse files
committed
fix
1 parent 626dc93 commit 4f3755a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/unit/collection.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ describe("test functionality of collection", function () {
4747
todos: [],
4848
});
4949

50-
expect(collections.valueat(0).name).toBe("test edit");
50+
expect(collections.value.at(0).name).toBe("test edit");
5151
});
5252

5353
it("should be can delete collection", function () {

tests/unit/todo.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe("testing functionality of todo", () => {
3232
it("it should be have one todo", function () {
3333
const { collections, collection } = useCollection();
3434
const { addTodo } = useTodo();
35-
// const firstCollection = collections.valueat(0);
35+
// const firstCollection = collections.value.at(0);
3636
collection.value = collections.value.at(0);
3737

3838
addTodo({

0 commit comments

Comments
 (0)