File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ describe('Vault', () => {
9999 categoryId : category1 . id ,
100100 createdAt : new Date ( '2023-05-15' ) ,
101101 type : 'expense' ,
102+ date : new Date ( '2023-05-15' ) ,
102103 } ) ,
103104 ) ;
104105 vault . addTransaction (
@@ -110,6 +111,7 @@ describe('Vault', () => {
110111 isCommitted : false ,
111112 categoryId : category1 . id ,
112113 createdAt : new Date ( '2023-05-20' ) ,
114+ date : new Date ( '2023-05-20' ) ,
113115 type : 'expense' ,
114116 } ) ,
115117 ) ;
@@ -123,6 +125,7 @@ describe('Vault', () => {
123125 categoryId : category2 . id ,
124126 createdAt : new Date ( '2023-05-02' ) ,
125127 type : 'expense' ,
128+ date : new Date ( '2023-05-20' ) ,
126129 } ) ,
127130 ) ;
128131 vault . addTransaction (
@@ -134,6 +137,7 @@ describe('Vault', () => {
134137 isCommitted : false ,
135138 categoryId : category2 . id ,
136139 createdAt : new Date ( '2023-06-05' ) ,
140+ date : new Date ( '2023-06-05' ) ,
137141 type : 'expense' ,
138142 } ) ,
139143 ) ;
You can’t perform that action at this time.
0 commit comments