Ensure jasmine-plugin startup module is executed in the right order (#5210)

browser-messaging-saver
ento 2020-12-05 23:29:34 -08:00 zatwierdzone przez GitHub
rodzic 7fd24de372
commit c4dcf510ef
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -14,6 +14,15 @@ The main module of the Jasmine test plugin for TiddlyWiki5
var TEST_TIDDLER_FILTER = "[type[application/javascript]tag[$:/tags/test-spec]]";
// Ensure this startup module is executed in the right order.
// Jasmine calls `process.exit()` with a non-zero exit code if there's
// any failed tests. Because of that, we want to make sure all critical
// startup modules are run before this one.
// * The "commands" module handles the --rendertiddler command-line flag,
// which is typically given to export an HTML file that can be opened with
// a browser to run tests.
exports.after = ["commands"];
/*
Startup function for running tests