Open mrloop opened 2 years ago
I'm using dynamodb-localhost in vitest, it uses worker threads and as suggested https://github.com/vitest-dev/vitest/issues/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,...
I'm using dynamodb-localhost in vitest, it uses worker threads and as suggested https://github.com/vitest-dev/vitest/issues/1544 a check is required when spawning
Otherwise you get an error similar to