make tests more robust

This commit is contained in:
Daniel
2020-11-22 10:49:56 +01:00
committed by Daniel Hutzel
parent e15a6192b6
commit b6028721af
9 changed files with 17 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
const { GET, POST, expect } = require('../test') .run ('bookshop')
const cds = require('@sap/cds/lib'); cds.User = cds.User.Privileged // skip auth
const { GET, POST, expect } = cds.test('bookshop').in(__dirname,'..')
describe('Custom Handlers', () => {