mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 04:45:17 +00:00
run prettier
This commit is contained in:
@@ -18,16 +18,15 @@ describe("Translator", function () {
|
||||
|
||||
server = app.listen(3000);
|
||||
|
||||
server.on('connection', (socket) => {
|
||||
server.on("connection", (socket) => {
|
||||
sockets.add(socket);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
afterAll(function () {
|
||||
for (const socket of sockets) {
|
||||
socket.destroy();
|
||||
|
||||
|
||||
sockets.delete(socket);
|
||||
}
|
||||
|
||||
|
@@ -11,5 +11,5 @@ describe("Functions into modules/default/newsfeed/newsfeed.js", function () {
|
||||
require("../../../modules/default/newsfeed/newsfeed.js");
|
||||
});
|
||||
|
||||
test.skip('skip', () => {});
|
||||
test.skip("skip", () => {});
|
||||
});
|
||||
|
@@ -14,8 +14,7 @@ beforeAll(function () {
|
||||
__dirname: path.dirname(filePath),
|
||||
global: {},
|
||||
process: {
|
||||
on: function () {
|
||||
},
|
||||
on: function () {},
|
||||
env: {}
|
||||
}
|
||||
};
|
||||
|
@@ -14,8 +14,7 @@ beforeAll(function () {
|
||||
__dirname: path.dirname(filePath),
|
||||
global: {},
|
||||
process: {
|
||||
on: function () {
|
||||
},
|
||||
on: function () {},
|
||||
env: {}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user