mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-02-02 00:42:52 +00:00
Cypress module conversion and updated chalk
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const { SwaggerValidation } = require('@jc21/cypress-swagger-validation');
|
||||
const chalk = require('chalk');
|
||||
import { SwaggerValidation } from '@jc21/cypress-swagger-validation';
|
||||
import chalk from 'chalk';
|
||||
|
||||
module.exports = (on, config) => {
|
||||
export default (on, config) => {
|
||||
// Replace swaggerBase config var wildcard
|
||||
if (typeof config.env.swaggerBase !== 'undefined') {
|
||||
config.env.swaggerBase = config.env.swaggerBase.replace('{{baseUrl}}', config.baseUrl);
|
||||
Reference in New Issue
Block a user