test: add alert module tests for different welcome_message configurations (#3867)

In this way, all options for `welcome_message` are tested.
This commit is contained in:
Kristjan ESPERANTO
2025-08-28 23:17:44 +02:00
committed by GitHub
parent 4c0a4689c3
commit fad8bbaeb1
5 changed files with 80 additions and 8 deletions

View File

@@ -0,0 +1,18 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
modules: [
{
module: "alert",
config: {
display_time: 1000000,
welcome_message: false
}
}
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -0,0 +1,18 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
modules: [
{
module: "alert",
config: {
display_time: 1000000,
welcome_message: "Custom welcome message!"
}
}
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {
module.exports = config;
}