UNPKG

@aikidosec/firewall

Version:

Zen by Aikido is an embedded Web Application Firewall that autonomously protects Node.js apps against common and critical attacks

19 lines (18 loc) 404 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LoggerForTesting = void 0; class LoggerForTesting { constructor() { this.messages = []; } log(message) { this.messages.push(message); } getMessages() { return this.messages; } clear() { this.messages = []; } } exports.LoggerForTesting = LoggerForTesting;