Run prettier over ALL files once

No other changes done in this commit
This commit is contained in:
Veeck
2020-05-11 22:22:32 +02:00
parent 3a5a29efc0
commit abb5dc5739
160 changed files with 2369 additions and 2210 deletions

View File

@@ -5,7 +5,7 @@ const forEach = require("mocha-each");
const describe = global.describe;
describe("All font files from roboto.css should be downloadable", function() {
describe("All font files from roboto.css should be downloadable", function () {
helpers.setupTimeout(this);
var app;
@@ -21,7 +21,7 @@ describe("All font files from roboto.css should be downloadable", function() {
match = regex.exec(fileContent);
}
before(function() {
before(function () {
// Set config sample for use in test
process.env.MM_CONFIG_FILE = "tests/configs/without_modules.js";
@@ -29,18 +29,18 @@ describe("All font files from roboto.css should be downloadable", function() {
.startApplication({
args: ["js/electron.js"]
})
.then(function(startedApp) {
.then(function (startedApp) {
app = startedApp;
});
});
after(function() {
after(function () {
return helpers.stopApplication(app);
});
forEach(fontFiles).it("should return 200 HTTP code for file '%s'", (fontFile, done) => {
var fontUrl = "http://localhost:8080/fonts/" + fontFile;
request.get(fontUrl, function(err, res, body) {
request.get(fontUrl, function (err, res, body) {
expect(res.statusCode).to.equal(200);
done();
});