From baa3c1461c51a5542b22e4fc03e1d48db968fc1d Mon Sep 17 00:00:00 2001 From: fewieden Date: Sun, 13 Jan 2019 23:57:19 +0100 Subject: [PATCH] test setup --- tests/e2e/modules/weather_spec.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tests/e2e/modules/weather_spec.js diff --git a/tests/e2e/modules/weather_spec.js b/tests/e2e/modules/weather_spec.js new file mode 100644 index 00000000..b6038d3b --- /dev/null +++ b/tests/e2e/modules/weather_spec.js @@ -0,0 +1,26 @@ +const fs = require("fs"); +const _ = require("lodash"); +const moment = require("moment"); +const wdajaxstub = require("webdriverajaxstub"); + +const helpers = require("../global-setup"); + +describe("Weather module", function() { + let app; + + helpers.setupTimeout(this); + + async function setup(responses) { + app = await helpers.startApplication({ + args: ["js/electron.js"] + }); + + wdajaxstub.init(app.client, responses); + + app.client.setupStub(); + } + + afterEach(function() { + return helpers.stopApplication(app); + }); +});