bedrock-protocol/test/vanilla.test.js
extremeheat 254dbefcd4
Add update helper script (#117)
* Squashed commit from 'helper' branch

* CI: run "update-helper" script on cron

* Update index.js

* disable proxy test

* lint

* re-add proxy test with delay

* lint

* Fix cron time
2021-08-07 23:41:01 +02:00

17 lines
448 B
JavaScript

/* eslint-env jest */
const { clientTest } = require('./vanilla')
const { Versions } = require('../src/options')
const { sleep } = require('../src/datatypes/util')
describe('vanilla server test', function () {
const vcount = Object.keys(Versions).length
this.timeout(vcount * 80 * 1000)
for (const version in Versions) {
it('client spawns ' + version, async () => {
await clientTest(version)
await sleep(100)
})
}
})