bedrock-protocol/test/vanilla.test.js
extremeheat 458136d877
Vanilla server tests, client offline mode (#49)
* vanilla server launcher

* update package.json

* re-add babel to fix standard

* fix ci

* add buffer-equal

* simple fixes

* add offline client support

* fix closing bugs, proper wait for server start

* add test to mocha

* change test timeout to 2 min

* increase timeouts

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2021-03-17 23:04:14 +01:00

10 lines
No EOL
207 B
JavaScript

/* eslint-env jest */
const { clientTest } = require('./vanilla')
describe('vanilla server test', function () {
this.timeout(120 * 1000)
it('client spawns', async () => {
await clientTest()
})
})