Skip to content

Commit

Permalink
Update tests (#528)
Browse files Browse the repository at this point in the history
* Debug

* Update internal.js

* Update internal.js

* Update internal.js

* Update internal.js
  • Loading branch information
extremeheat committed Sep 20, 2024
1 parent 418efa1 commit cb530c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/internal.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function prepare (version) {

async function startTest (version = CURRENT_VERSION, ok) {
await prepare(version)
const Item = require('../types/Item')(version)
// const Item = require('../types/Item')(version)
const port = await getPort()
const server = new Server({ host: '0.0.0.0', port, version, offline: true })

Expand Down Expand Up @@ -56,7 +56,7 @@ async function startTest (version = CURRENT_VERSION, ok) {
client.write('network_settings', { compression_threshold: 1 })
// Send some inventory slots
for (let i = 0; i < 3; i++) {
client.queue('inventory_slot', { window_id: 'armor', slot: 0, item: new Item().toBedrock() })
// client.queue('inventory_slot', { window_id: 'armor', slot: 0, item: new Item().toBedrock() })
}

// client.queue('inventory_transaction', get('packets/inventory_transaction.json'))
Expand Down

0 comments on commit cb530c8

Please sign in to comment.