mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Ensure jasmine-plugin startup module is executed in the right order (#5210)
This commit is contained in:
parent
7fd24de372
commit
c4dcf510ef
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user