1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-24 22:33:16 +00:00

Fix plugin tests in the browser

This commit is contained in:
Jeremy Ruston 2024-05-21 11:26:24 +01:00
parent 5aa3646df5
commit 4d2aa1dc95

View File

@ -12,7 +12,9 @@ Tests for integrity of the core plugins, languages, themes and editions
/*global $tw: false */
"use strict";
describe("Plugin tests", function() {
if($tw.node) {
describe("Plugin tests", function() {
// Get all the plugins as a hashmap by title of a JSON string with the plugin content
var tiddlers = $tw.utils.getAllPlugins();
@ -38,7 +40,8 @@ describe("Plugin tests", function() {
});
});
});
});
}
});
})();