Commit graph

21 commits

Author SHA1 Message Date
Romain Beaumont
8776a2baa7 view distance of 1 in the test, fix #158 2015-12-11 01:07:22 +01:00
Romain Beaumont
f3a543dffc improve assertPosEqual error message, fix #155 2015-12-11 00:46:26 +01:00
Romain Beaumont
865327b482 use require-self for better consistency with external plugins
require("flying-squid").someLib instead of require("../someLib")
2015-12-10 01:25:33 +01:00
Romain Beaumont
3ec142d118 add test for /kill 2015-12-09 01:19:18 +01:00
Romain Beaumont
3becd22307 Merge #145 2015-12-07 01:02:42 +01:00
Romain Beaumont
3806c3fd29 add a test to check /xp works 2015-12-07 01:02:21 +01:00
Romain Beaumont
85b11605a8 arrow function don't have this 2015-12-07 00:13:01 +01:00
Romain Beaumont
c5fd043e31 increase test time 2015-12-07 00:09:08 +01:00
Romain Beaumont
974fcafba7 add a digging and placing test
the placing test is currently skipped because it doesn't always work (might be better to restart the server and bots at each test)
2015-12-07 00:06:43 +01:00
Romain Beaumont
526a9f1132 await the bot is onGround, and add a test for /setblock 2015-12-06 20:20:13 +01:00
Romain Beaumont
7efb2daea3 rewrite tests using async/await
much easier to understand that way
2015-12-06 19:42:44 +01:00
Romain Beaumont
94edf79f97 add more tests for /tp and a test for /deop 2015-12-06 18:54:04 +01:00
Romain Beaumont
ae6d9887fd fix bug in /tp and add regression tests 2015-12-06 18:31:25 +01:00
Romain Beaumont
b5d22e57f9 improve code with webstorm suggestion + split entities.js into spawn.js and other files 2015-11-28 18:23:26 +01:00
Romain Beaumont
d1c1c9d77f close the server when the tests end 2015-11-25 20:23:45 +01:00
Romain Beaumont
ddd38e148a fix settings, cleanup logs (fix #125) 2015-11-25 19:49:38 +01:00
Romain Beaumont
fe3afd1ce0 set a different port for the server with mineflayer test 2015-11-25 02:59:09 +01:00
Romain Beaumont
44d721d2a5 add a few tests based on mineflayer 2015-11-25 02:46:32 +01:00
Romain Beaumont
767a3bfba1 fix test 2015-10-26 03:10:16 +01:00
Romain Beaumont
a50642967b use more es6 arrow function, and directly define the player.f functions instead of defining the function then assigning it 2015-10-26 01:15:21 +01:00
mhsjlw
457f91ff3e Created test scaffolding 2015-08-24 10:45:51 -04:00