Require explicit call to run tests.
This commit is contained in:
parent
f538c07167
commit
1f08032880
|
@ -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