Skip to content

Commit 8e84442

Browse files
committed
chore: update
1 parent 307946c commit 8e84442

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/__tests__/github_issues/253-test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ schemaComposer.Query.addFields({
2828

2929
beforeAll(async () => {
3030
await mongoose.createConnection();
31+
// todo find away to get the alias types?
3132
await TimeMachine.create({ speed: 300, fluxCompensatorVersion: 5 });
3233
});
3334
afterAll(() => mongoose.disconnect());

src/__tests__/github_issues/304-test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
});
5050
afterAll(() => {

0 commit comments

Comments
 (0)