You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tools used
NPM 7.5.4
Node 16.9.1
Typescript 4.2.4
fastify-gen 0.3.0
Jest 26.6.3 Issue description
Using the generated code out of the box during test execution, we encounter the following error:
I suspect that the following snippet is causing this:
Server startup code is as follow:
Despite the fastify server object being returned by the exported init() method, it looks like fastify server instance and methods are not exposed to test
** Expected behavior**
Tests should work out of the box just fine
Am I doing something wrong ?
The text was updated successfully, but these errors were encountered:
tools used
NPM 7.5.4
Node 16.9.1
Typescript 4.2.4
fastify-gen 0.3.0
Jest 26.6.3
Issue description
Using the generated code out of the box during test execution, we encounter the following error:
I suspect that the following snippet is causing this:
Server startup code is as follow:
Despite the fastify server object being returned by the exported init() method, it looks like fastify server instance and methods are not exposed to test
** Expected behavior**
Tests should work out of the box just fine
Am I doing something wrong ?
The text was updated successfully, but these errors were encountered: