File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/__tests__/github_issues Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ schemaComposer.Query.addFields({
2828
2929beforeAll ( async ( ) => {
3030 await mongoose . createConnection ( ) ;
31+ // todo find away to get the alias types?
3132 await TimeMachine . create ( { speed : 300 , fluxCompensatorVersion : 5 } ) ;
3233} ) ;
3334afterAll ( ( ) => mongoose . disconnect ( ) ) ;
Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ beforeAll(async () => {
4242 await OrderModel . base . createConnection ( ) ;
4343 await OrderModel . create ( [
4444 { orderStatus : 'PAID' , inbound : { timeStamp : null } } ,
45- { orderStatus : 'PAID' , inbound : { timeStamp : 123 } } ,
45+ { orderStatus : 'PAID' , inbound : { timeStamp : new Date ( 123 ) } } ,
4646 { orderStatus : 'UNPAID' , inbound : { timeStamp : null } } ,
47- { orderStatus : 'UNPAID' , inbound : { timeStamp : 456 } } ,
47+ { orderStatus : 'UNPAID' , inbound : { timeStamp : new Date ( 456 ) } } ,
4848 ] ) ;
4949} ) ;
5050afterAll ( ( ) => {
You can’t perform that action at this time.
0 commit comments