Skip to content

Conversation

@mrloop
Copy link

@mrloop mrloop commented Oct 13, 2022

I'm using dynamodb-localhost in vitest, it uses worker threads and as suggested vitest-dev/vitest#1544 a check is required when spawning

Otherwise you get an error similar to

TypeError [ERR_INVALID_ARG_VALUE]: The argument 'stdio' is invalid. Received WritableWorkerStdio {
  _writableState: WritableState {
    objectMode: false,
    highWaterMark: 16384,
    finalCalled: false,...

@mrloop mrloop changed the title Make work from worker Make work with worker Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant