Prepare moving test kit over to @sap/cds

This commit is contained in:
Daniel
2020-08-19 09:38:07 +02:00
parent a43ade103c
commit 039f62209c
12 changed files with 171 additions and 182 deletions

View File

@@ -1,5 +1,7 @@
const cds = require ('./cds')
const { GET, expect } = cds.test ('serve', __dirname+'/localized-data.cds', '--in-memory')
describe('Localized Data', () => {
const { GET, expect } = require('./capire').launch('cds serve',__dirname+'/localized-data.cds')
it('serves localized $metadata documents', async () => {
const { data } = await GET`/browse/$metadata?sap-language=de`