Cypress test for LDAP

This commit is contained in:
Jamie Curnow
2024-11-04 08:16:55 +10:00
parent 4d60876394
commit c556b8acef
6 changed files with 82 additions and 1 deletions

View File

@ -1,4 +1,5 @@
const {SwaggerValidation} = require('@jc21/cypress-swagger-validation');
const chalk = require('chalk');
module.exports = (on, config) => {
// Replace swaggerFile config var wildcard
@ -11,7 +12,7 @@ module.exports = (on, config) => {
on('task', require('./backendApi/task')(config));
on('task', {
log(message) {
console.log(message);
console.log(chalk.cyan.bold('[') + chalk.blue.bold('LOG') + chalk.cyan.bold(']') + ' ' + chalk.red.bold(message));
return null;
}
});