Skip to content

Commit f4d7b1a

Browse files
committed
test(blackbox): fix client package name so the independent smoke runs
The harness depended on 'node-minecraft-protocol' (the GitHub repo name); the published npm package is 'minecraft-protocol'. Correct the dependency + import and pin minecraft-protocol 1.66.2 (+ commit the lockfile; node_modules is gitignored). A live run now passes end-to-end: a temp-world server instance + this independent PrismarineJS client -> status ping (protocol 772), offline login to 'play', first chunk received, and chunk streaming across a boundary (441 load / 21 unload events, 420 columns). This is the real-client protocol gate the project's fake-client lesson called for.
1 parent 1036069 commit f4d7b1a

4 files changed

Lines changed: 548 additions & 2 deletions

File tree

‎.gitignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,6 @@ world.ferrumdb
4040
plugins/*.so
4141
plugins/*.dll
4242
plugins/*.dylib
43+
44+
# Node black-box smoke harness deps
45+
tests/blackbox/node_modules/

‎tests/blackbox/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"check": "node --check smoke.mjs"
1010
},
1111
"dependencies": {
12-
"node-minecraft-protocol": "1.66.2",
12+
"minecraft-protocol": "1.66.2",
1313
"minecraft-data": "3.111.0"
1414
},
1515
"engines": {

0 commit comments

Comments
 (0)