Skip to content

How to use ava@4.1.0 with Node.js 12.16.1 #3005

Discussion options

You must be logged in to vote

@novemberborn I can migrate to Ava 3+ version, where i can make use of shared workers. But i have very basic question on shared workers.

Let's say i have hapijs server, which i create it as part of shared context thread and reuse it for the all test case files, how would end up doing it ? I went through the @ava/get-port code, i see that we are using context.reserve to lock the primitive port numbers. In my case i don't need to lock anything, it just i want hapijs server composed and ready to be used in context so each file can use it while running..

Is this something possible with sharedworkers ? OR Am i missing very basic understanding itself

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@novemberborn
Comment options

Answer selected by sathishsoundharajan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants