Skip to content

Commit

Permalink
update storage data type tests to reflect new output structure
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskalmar committed Jan 30, 2021
1 parent 70a690c commit e87efaf
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions test/storageDataTypes.spec.ts
Expand Up @@ -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();
});
});

0 comments on commit e87efaf

Please sign in to comment.