* Cleanup

* minor cleanups
This commit is contained in:
Daniel Hutzel
2023-01-13 09:08:20 +01:00
committed by GitHub
parent 8a6a42f109
commit a1c2f32408
14 changed files with 66 additions and 227 deletions

View File

@@ -1,10 +1,12 @@
const cds = require('@sap/cds/lib')
describe('cap/samples - Fiori APIs - v2', () => {
describe('cap/samples - Fiori APIs - v2', function() {
const { GET, expect, axios } = cds.test ('@capire/fiori', '--with-mocks')
axios.defaults.auth = { username: 'alice', password: 'admin' }
// if (this.timeout) this.timeout(1e6)
it('serves $metadata documents in v2', async () => {
const { headers, data } = await GET `/v2/browse/$metadata`
expect(headers).to.contain({