From fb8bd657de9bac3a20520313d88ce556ab4f5caf Mon Sep 17 00:00:00 2001 From: rejas Date: Wed, 21 Apr 2021 08:49:06 +0200 Subject: [PATCH] Move weatherforecast mock data in better suited directory --- .../{unit/functions => configs/data}/weatherforecast_data.json | 0 tests/unit/functions/weatherforecast_spec.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename tests/{unit/functions => configs/data}/weatherforecast_data.json (100%) diff --git a/tests/unit/functions/weatherforecast_data.json b/tests/configs/data/weatherforecast_data.json similarity index 100% rename from tests/unit/functions/weatherforecast_data.json rename to tests/configs/data/weatherforecast_data.json diff --git a/tests/unit/functions/weatherforecast_spec.js b/tests/unit/functions/weatherforecast_spec.js index 42bd20d4..634bb488 100644 --- a/tests/unit/functions/weatherforecast_spec.js +++ b/tests/unit/functions/weatherforecast_spec.js @@ -1,7 +1,7 @@ /* eslint no-multi-spaces: 0 */ const expect = require("chai").expect; const moment = require("moment-timezone"); -const data = require("../functions/weatherforecast_data.json"); +const data = require("../../configs/data/weatherforecast_data.json"); describe("Functions module weatherforecast", function () { before(function () {