MCPcopy
hub / github.com/mongodb/node-mongodb-native / envCheck

Function envCheck

test/integration/auth/mongodb_aws.test.ts:404–407  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

402 let numberOfFromNodeProviderChainCalls;
403
404 const envCheck = () => {
405 const { AWS_WEB_IDENTITY_TOKEN_FILE = '' } = process.env;
406 return AWS_WEB_IDENTITY_TOKEN_FILE.length === 0;
407 };
408
409 beforeEach(function () {
410 shouldSkip = envCheck();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected