Daniel Bulant
52a7056daa
empty commit
2021-04-21 18:59:44 +02:00
Romain Beaumont
43b665bb84
update to standard 12
2018-11-25 16:31:55 +01:00
Romain Beaumont
3e172af693
fix /setblock test, fix #344
2018-05-27 21:24:43 +02:00
Romain Beaumont
91c68e2cc0
increase test timeout
2018-05-27 19:44:52 +02:00
Romain Beaumont
9f2e8e0a36
increase test timeout
2018-05-25 23:17:49 +02:00
Romain Beaumont
ed2f5df538
fix entities in 1.12 : uuid support
2018-05-25 23:09:29 +02:00
Romain Beaumont
c213a06c38
normal timeout + sequential
2018-05-25 01:20:44 +02:00
Romain Beaumont
d6eede202e
fix timeout
2018-05-25 01:06:45 +02:00
Romain Beaumont
754ec4bced
use port 0 + run test in //
2018-05-25 01:02:42 +02:00
Romain Beaumont
13ceac4a83
adapt test for multi-version
2018-05-23 02:01:29 +02:00
Romain Beaumont
48be4f2266
bring (static) multi version support to everything else + fix some formatting
2018-05-13 20:21:23 +02:00
Romain Beaumont
0b53189116
bring (static) multi version support to portal detection
2018-05-13 19:47:47 +02:00
mhsjlw
44f0024cc6
Add standard linting
2018-05-13 09:26:48 -04:00
mhsjlw
241cc0e014
Fix requireindex and mineflayer.js
2018-02-06 22:24:20 -05:00
mhsjlw
72e42982b0
Migrate to CircleCI 2 and Jest
...
- Reformatted the test files
- mineflayer.js is broken
- CircleCI will cache node_modules/
2018-02-05 21:04:34 -05:00
mhsjlw
9fca132bc1
Fix tests
2018-02-04 16:45:47 -05:00
Romain Beaumont
1412722d8c
make worldFolder optional, fix tests
2016-01-14 19:44:54 +01:00
Romain Beaumont
e7fe4d5051
disable loading/saving in tests
2016-01-05 02:15:18 +01:00
Romain Beaumont
c125221d5c
increase timeout in detect portal test to avoid circle ci failing
2015-12-18 20:17:12 +01:00
Romain Beaumont
1d882c4af9
some webstorm found fixes
2015-12-18 14:27:36 +01:00
Romain Beaumont
8c4406804e
use const and let instead of var
...
see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const and https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let
2015-12-17 11:36:43 +01:00
Romain Beaumont
a999bbdda1
fix an async problem with portal generation, check huge portals work
2015-12-15 00:20:15 +01:00
Romain Beaumont
e792f5d671
fix destroying multiple portal at the same time, add /portal command to create a portal, expose various portal generation function
2015-12-14 22:36:15 +01:00
Romain Beaumont
908054dca1
fix tests
2015-12-14 19:39:53 +01:00
Romain Beaumont
3d6dd9faec
doesn't detect portal if there is air in it, add test to check that
2015-12-14 02:58:00 +01:00
Romain Beaumont
703b42abea
some fixes in findBorder, add more tests
2015-12-14 00:45:08 +01:00
Romain Beaumont
adcd35b985
make portal test more general to test for several portal kinds
2015-12-13 20:07:45 +01:00
Romain Beaumont
539b9c1314
implement portal detection and use it when flint and steel is used
...
currently places cactus instead of nether block because nether block seems to require the multi block change packet
lot of tests are already there, but some more need to be added, it seems some cases don't work (when the portal have edges it seems)
2015-12-12 06:45:39 +01:00
Romain Beaumont
3e8e49bf4c
one onGround missing
2015-12-11 16:56:23 +01:00
Romain Beaumont
addec7252d
fix place block test and improve lot of awaiting in the tests, only send min(3,view) chunks initially
2015-12-11 16:52:48 +01:00
Romain Beaumont
f5884caf1f
fix player.kick (just use player._client.end), add serv.quit(reason), wait for login messages in mineflayer test
2015-12-11 15:33:48 +01:00
Romain Beaumont
72c91c50e0
make tests independent : do beforeEach instead of before to initialize the server/bots
2015-12-11 13:49:03 +01:00
Romain Beaumont
b6b49a5c3c
fix /kill test by fixing mineflayer
2015-12-11 13:28:48 +01:00
Romain Beaumont
ce1ffe9c4f
fix error handling in /kill and disable /kill test until we figure out whether the server should send the despawn packet or not when the entity dies
2015-12-11 04:32:33 +01:00
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