Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
danjoa committed Jan 26, 2024
1 parent ba1a8dd commit 8bef766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/hierarchical-data.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ describe('cap/samples - Hierarchical Data', ()=>{
parent : Association to Categories;
}
`
// const model = cds.compile.for.nodejs(csn)
const {Categories:Cats} = csn.definitions
const model = cds.compile.for.nodejs(csn)
const {Categories:Cats} = model.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
Expand Down

0 comments on commit 8bef766

Please sign in to comment.