From e87efaf59d1dbbf91c04cae032a8305c7c8bcb62 Mon Sep 17 00:00:00 2001 From: Chris Kalmar Date: Sat, 30 Jan 2021 22:54:34 +0100 Subject: [PATCH] update storage data type tests to reflect new output structure --- test/storageDataTypes.spec.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/test/storageDataTypes.spec.ts b/test/storageDataTypes.spec.ts index 534b4f9c..b8588446 100644 --- a/test/storageDataTypes.spec.ts +++ b/test/storageDataTypes.spec.ts @@ -29,14 +29,9 @@ describe('storageDataTypes', () => { asAdmin(), ); - expect(persist.DataTypeTester).toMatchSnapshot(); + expect(persist).toMatchSnapshot(); - const result = await findOne( - DataTypeTester, - persist.DataTypeTester.id, - {}, - asAdmin(), - ); + const result = await findOne(DataTypeTester, persist.id, {}, asAdmin()); expect(result).toMatchSnapshot(); }); });