(vibe) Added testframework
This commit is contained in:
9
douwco_hivemind/test/run_tests.js
Normal file
9
douwco_hivemind/test/run_tests.js
Normal file
@@ -0,0 +1,9 @@
|
||||
// Screeps console command to run tests
|
||||
// Copy and paste this into the Screeps console to run all tests
|
||||
|
||||
if (typeof runTests === 'function') {
|
||||
console.log('Running Douwco Hivemind tests...');
|
||||
runTests();
|
||||
} else {
|
||||
console.log('ERROR: runTests function not found. Make sure the WASM module is loaded.');
|
||||
}
|
||||
Reference in New Issue
Block a user