mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 04:02:12 +00:00
Remove unused variables
This commit is contained in:
parent
39aa2dfe01
commit
2e44e1626d
@ -1,9 +1,6 @@
|
|||||||
const helpers = require("./global-setup");
|
const helpers = require("./global-setup");
|
||||||
const fetch = require("node-fetch");
|
const fetch = require("node-fetch");
|
||||||
|
|
||||||
const before = global.before;
|
|
||||||
const after = global.after;
|
|
||||||
|
|
||||||
describe("Vendors", function () {
|
describe("Vendors", function () {
|
||||||
helpers.setupTimeout(this);
|
helpers.setupTimeout(this);
|
||||||
|
|
||||||
@ -26,6 +23,7 @@ describe("Vendors", function () {
|
|||||||
|
|
||||||
describe("Get list vendors", function () {
|
describe("Get list vendors", function () {
|
||||||
const vendors = require(__dirname + "/../../vendor/vendor.js");
|
const vendors = require(__dirname + "/../../vendor/vendor.js");
|
||||||
|
|
||||||
Object.keys(vendors).forEach((vendor) => {
|
Object.keys(vendors).forEach((vendor) => {
|
||||||
it(`should return 200 HTTP code for vendor "${vendor}"`, function (done) {
|
it(`should return 200 HTTP code for vendor "${vendor}"`, function (done) {
|
||||||
const urlVendor = "http://localhost:8080/vendor/" + vendors[vendor];
|
const urlVendor = "http://localhost:8080/vendor/" + vendors[vendor];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user