Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit c10ca17

Browse files
committed
chore: Merged fiori into bookstore and tests into subprojects
1 parent dcb0c03 commit c10ca17

83 files changed

Lines changed: 3030 additions & 751 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.vscode/launch.json

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
]
1919
},
2020
{
21-
"name": "Fiori App",
22-
"command": "npx cds watch fiori",
21+
"name": "bookstore",
22+
"command": "npx cds watch bookstore",
2323
"type": "node-terminal",
2424
"request": "launch",
2525
"skipFiles": [
@@ -29,29 +29,6 @@
2929
"**/cds/lib/req/cds-context.js",
3030
"**/odata-v4/okra/**"
3131
]
32-
},
33-
{
34-
"name": "Debug Mocha Tests",
35-
"type": "node",
36-
"request": "attach",
37-
"port": 9229,
38-
"continueOnAttach": true,
39-
"skipFiles": [
40-
"<node_internals>/**",
41-
"**/node_modules/**",
42-
"**/cds/lib/lazy.js",
43-
"**/cds/lib/req/cds-context.js",
44-
"**/odata-v4/okra/**",
45-
]
46-
},
47-
],
48-
"inputs": [
49-
{
50-
"type": "pickString",
51-
"id": "sample",
52-
"description": "Which sample do you want to start?",
53-
"options": [ "bookshop", "fiori", "reviews", "reviews" ],
54-
"default": "bookshop"
5532
}
5633
]
5734
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const cds = require('@sap/cds')
2-
const { GET, POST, expect } = cds.test(__dirname+'/../bookshop')
2+
const { GET, POST, expect } = cds.test(__dirname+'/..')
33
cds.User.default = cds.User.Privileged // hard core monkey patch
44

55
describe('cap/samples - Custom Handlers', () => {

test/hierarchical-data.test.js renamed to bookshop/test/hierarchical-data/hierarchical-data.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const cds = require('@sap/cds')
2-
const { expect } = cds.test.in(__dirname,'..')
2+
const { expect } = cds.test.in(__dirname,'..','..')
33

44
describe('cap/samples - Hierarchical Data', ()=>{
55

File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using { sap.capire.bookshop as my } from '../db/schema';
1+
using { sap.capire.bookshop as my } from '../../db/schema';
22
service TestService {
33
entity Genres as projection on my.Genres;
44
}

0 commit comments

Comments
 (0)