Require explicit call to run tests.
This commit is contained in:
parent
dc6ee399dd
commit
7753e5345c
|
@ -352,8 +352,9 @@
|
|||
}
|
||||
},
|
||||
|
||||
test() {
|
||||
include("/test/run.js");
|
||||
async test() {
|
||||
await include("/test/run.js"); // DEV_ONLY
|
||||
runTests();
|
||||
},
|
||||
|
||||
async testIC(callbackOrUrl) {
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
(async () => {
|
||||
globalThis.runTests = async () => {
|
||||
await include("/nscl/test/Test.js");
|
||||
Test.include([
|
||||
"/nscl/test/Policy_test.js",
|
||||
|
@ -27,4 +27,4 @@
|
|||
"XSS",
|
||||
"embargoed/XSS",
|
||||
]);
|
||||
})();
|
||||
};
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
../src/test
|
Loading…
Reference in New Issue