mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-09-14 16:13:57 +00:00
refactor: use global.root_path instead relative paths (#3883)
This commit is contained in:
@@ -9,7 +9,7 @@ describe("Vendors", () => {
|
||||
});
|
||||
|
||||
describe("Get list vendors", () => {
|
||||
const vendors = require(`${__dirname}/../../js/vendor.js`);
|
||||
const vendors = require(`${global.root_path}/js/vendor.js`);
|
||||
|
||||
Object.keys(vendors).forEach((vendor) => {
|
||||
it(`should return 200 HTTP code for vendor "${vendor}"`, async () => {
|
||||
|
Reference in New Issue
Block a user