From ba1a8dd98976da9a54936ee1914a2e6efaa2283a Mon Sep 17 00:00:00 2001 From: Daniel Hutzel Date: Fri, 26 Jan 2024 14:16:04 +0100 Subject: [PATCH] Support ucs --- test/hierarchical-data.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/hierarchical-data.test.js b/test/hierarchical-data.test.js index 936c140a..19939be3 100644 --- a/test/hierarchical-data.test.js +++ b/test/hierarchical-data.test.js @@ -11,8 +11,8 @@ describe('cap/samples - Hierarchical Data', ()=>{ parent : Association to Categories; } ` - const model = cds.compile.for.nodejs(csn) - const {Categories:Cats} = model.definitions + // const model = cds.compile.for.nodejs(csn) + const {Categories:Cats} = csn.definitions before ('bootstrap sqlite in-memory db...', async()=>{ await cds.deploy (csn) .to ('sqlite::memory:') // REVISIT: cds.compile.to.sql should accept cds.compiled.for.nodejs models