@kodamc/protocol
Version:
Minecraft Bedrock Edition protocol library
19 lines (16 loc) • 529 B
JavaScript
/* eslint-env jest */
const { proxyTest } = require('./proxy')
const { testedVersions } = require('../src/options')
const { sleep } = require('../src/datatypes/util')
describe('proxies client/server', function () {
const vcount = testedVersions.length
this.timeout(vcount * 30 * 1000)
for (const version of testedVersions) {
it('proxies ' + version, async () => {
console.debug(version)
await proxyTest(version)
await sleep(1000)
console.debug('Done', version)
})
}
})