bedrock-protocol/test/internal.test.js
extremeheat f530677245
Option to use JS implementation of RakNet, fix 1.17.10 issue (#110)
* Default to JS implementation of RakNet

* update server also, adjust test timeout based on number of versions

* 1.17.10: fix texture pack issue, keep raknet default at C++

* force_build
2021-07-17 05:30:13 -04:00

24 lines
597 B
JavaScript

/* eslint-env jest */
const { timedTest } = require('./internal')
const { proxyTest } = require('./proxy')
const { Versions } = require('../src/options')
describe('internal client/server test', function () {
const vcount = Object.keys(Versions).length
this.timeout(vcount * 80 * 1000)
for (const version in Versions) {
it('connects ' + version, async () => {
console.debug(version)
await timedTest(version)
})
}
for (const version in Versions) {
it('proxies ' + version, async () => {
console.debug(version)
await proxyTest(version)
})
}
})