Run linter over all files again

This commit is contained in:
veeck 2021-06-30 15:13:15 +02:00
parent 099929c677
commit 39aa2dfe01
4 changed files with 19 additions and 0 deletions

View File

@ -1,5 +1,8 @@
const _ = require("lodash");
/**
* @param extendedData
*/
function generateWeather(extendedData = {}) {
return JSON.stringify(
_.merge(

View File

@ -1,5 +1,8 @@
const _ = require("lodash");
/**
* @param extendedData
*/
function generateWeatherForecast(extendedData = {}) {
return JSON.stringify(
_.merge(

View File

@ -12,6 +12,9 @@ describe("Weather module", function () {
helpers.setupTimeout(this);
/**
* @param responses
*/
async function setup(responses) {
app = await helpers.startApplication({
args: ["js/electron.js"],
@ -23,10 +26,17 @@ describe("Weather module", function () {
app.client.setupStub();
}
/**
* @param element
*/
async function getElement(element) {
return await app.client.$(element);
}
/**
* @param element
* @param result
*/
async function getText(element, result) {
const elem = await getElement(element);
return await elem.getText(element).then(function (text) {

View File

@ -67,6 +67,9 @@ describe("Translator", function () {
Fallback: "core fallback"
};
/**
* @param Translator
*/
function setTranslations(Translator) {
Translator.translations = translations;
Translator.coreTranslations = coreTranslations;