mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
refactor: Update import statement for jest in setupTest.js
This commit updates the import statement for jest in the setupTest.js file. The previous import statement used "globals" as the module name, which is incorrect. The correct module name is "jest". This change ensures that the jest module is imported correctly, improving the accuracy and reliability of the test setup.
This commit is contained in:
@@ -15,13 +15,13 @@ const logger = new FluentClient("fluentd.test", {
|
||||
},
|
||||
});
|
||||
|
||||
app.get("/", function (request, response) {
|
||||
app.get("/", (request, response) => {
|
||||
logger.emit("follow", { from: "userA", to: "userB" });
|
||||
response.send("Hello World!");
|
||||
});
|
||||
|
||||
const port = 7856;
|
||||
|
||||
app.listen(port, function () {
|
||||
app.listen(port, () => {
|
||||
console.log("Listening on " + port);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user