fixed support for mocha

This commit is contained in:
Daniel
2022-01-04 13:53:52 +01:00
committed by Daniel Hutzel
parent 788a101f41
commit a8345122ea
7 changed files with 48 additions and 21 deletions

View File

@@ -0,0 +1,12 @@
using { CatalogService, sap.capire.bookshop as my } from '@capire/bookshop';
using from '@capire/common';
extend service CatalogService with {
@cds.localized:false
entity BooksSans as projection on my.Books {
*, //> non-localized defaults, e.g. title
key ID,
texts.title as localized_title,
texts.locale
};
}