From 38e0e99daf206f26f0ec0cd6aabdf5e19eedb9d8 Mon Sep 17 00:00:00 2001 From: Chris Fang Date: Tue, 28 Nov 2023 10:10:03 -0800 Subject: [PATCH] Fix issue with required uuid-validate module --- packages/datastore/__tests__/DataStore/DataStore.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/datastore/__tests__/DataStore/DataStore.test.ts b/packages/datastore/__tests__/DataStore/DataStore.test.ts index d25451f97fa..b56b1c2f404 100644 --- a/packages/datastore/__tests__/DataStore/DataStore.test.ts +++ b/packages/datastore/__tests__/DataStore/DataStore.test.ts @@ -131,7 +131,7 @@ describe('DataStore tests', () => { }); test('Model class can be instantiated', () => { - const { validate } = require('uuid-validate'); + const validate = require('uuid-validate'); const { Model } = initSchema(testSchema()) as { Model: PersistentModelConstructor; };