Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return projectPreprocessor.processTree(tree).then((parsedTree) => {
t.deepEqual(parsedTree.dependencies.length, 0, "Application project has no dependencies");
const {middlewareRepository} = require("@ui5/server");
t.truthy(middlewareRepository.getMiddleware("middleware.a"),
"middleware.a has been added to the middleware repository");
});
});