From 4c98e63449d47bc7ea63e40a31106503148d9755 Mon Sep 17 00:00:00 2001 From: Andrea Lovicu Date: Fri, 22 Jul 2022 13:16:10 +0200 Subject: [PATCH] test: remove test inherited from previous cherry-picks --- test/ts/mongo.test.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/test/ts/mongo.test.ts b/test/ts/mongo.test.ts index 4aa0ec5..9f67d2d 100644 --- a/test/ts/mongo.test.ts +++ b/test/ts/mongo.test.ts @@ -331,19 +331,6 @@ describe('mongo', function () { data.should.deep.equal({ myid: 'bbb', 'a.b.c.d': 1 }); }); }); - - it('should create a record with a date preserving its type', function () { - return request - .post('/dates') - .send({ myid: 'ts', ts: new Date() }) - .expect(201) - .expect('Content-Type', /json/) - .then(async ({ body: data }) => { - const ref = await coll.findOne({}, { sort: { _id: -1 } }); - await coll.remove({ myid: 'ts' }); - ref.ts.should.be.a('Date'); - }); - }); }); describe('collection', function () {