Support ucs

This commit is contained in:
Daniel Hutzel
2024-01-26 14:16:04 +01:00
parent 0364cf68bb
commit ba1a8dd989

View File

@@ -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