1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

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

This commit is contained in:
ento 2020-12-05 23:29:34 -08:00 committed by GitHub
parent 7fd24de372
commit c4dcf510ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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