wallabyjs / public

Repository for Wallaby.js questions and issues
http://wallabyjs.com
758 stars 45 forks source link

Cannot find module 'dns/promises' #3298

Closed areijngoudt closed 9 months ago

areijngoudt commented 9 months ago

Issue description or question

Got this error when using smart start

Cannot find module 'dns/promises' from '../../libs/aws-helpers/src/managers/DiscoveredAPIManager.ts'

It fails on this line in the file above:

import dns from 'dns/promises';

Its in a node project with AWS Lambda's. I already re-installed node_modules It works at machines from other devs in our company (Essent in The Netherlands)

Wallaby diagnostics report

{
  editorVersion: '1.84.2',
  pluginVersion: '1.0.371',
  editorType: 'VSCode',
  osVersion: 'darwin 23.1.0',
  nodeVersion: 'v14.16.1',
  coreVersion: '1.0.1504',
  checksum: 'ZTQzNzk4NDY3YWI0MzdhMTc1NTcxM2IyMWRlYTAxMDgsMTcxNjMzNjAwMDAwMCww',
  config: {
    diagnostics: {
      angular: {
        workspace: {
          '$schema': './node_modules/nx/schemas/nx-schema.json',
          affected: { defaultBase: 'production' },
          namedInputs: {
            default: [ '{projectRoot}/**/*', 'sharedGlobals' ],
            production: [ '{projectRoot}/**/*.ts', 'sharedGlobals' ],
            sharedGlobals: [],
            sharedTestInputs: [ '{projectRoot}/**/*.ts', '{projectRoot}/tsconfig.spec.json', '{workspaceRoot}/jest.config.js', '{workspaceRoot}/jest.preset.js' ]
          },
          targetDefaults: {
            build: {
              dependsOn: [ '^build' ],
              inputs: [
                '{projectRoot}/**/*.ts',
                '{projectRoot}/tsconfig.json',
                '{projectRoot}/tsconfig.app.json',
                '{workspaceRoot}/tsconfig.base.json',
                '{projectRoot}/webpack.config.(ts|js)',
                '{workspaceRoot}/webpack.ts.config.js',
                '!{projectRoot}/**/*.spec.ts',
                '!{projectRoot}/**/__mocks__/**',
                '{projectRoot}/serverless.yml',
                '{projectRoot}/serverless/**/*.yml'
              ]
            },
            deploy: { executor: 'nx:run-commands', options: { command: 'npx serverless deploy --verbose --stage {args.stage}', cwd: '{projectRoot}/', forwardAllArgs: false } },
            'e2e-test': { executor: '@nx/jest:jest', inputs: [ '{projectRoot}/jest.e2e.config.(js|ts)', 'sharedTestInputs' ], options: { jestConfig: '{projectRoot}/jest.e2e.config.js' } },
            'integration-test': { executor: '@nx/jest:jest', inputs: [ '{projectRoot}/jest.integration.config.(js|ts)', 'sharedTestInputs' ], options: { jestConfig: '{projectRoot}/jest.integration.config.js' } },
            lint: { executor: '@nx/linter:eslint', inputs: [ '{projectRoot}/**/*.ts', '{workspaceRoot}/.eslintrc.json' ], options: { lintFilePatterns: [ '{projectRoot}/**/*.ts' ] } },
            print: { executor: 'nx:run-commands', options: { command: 'npx serverless print --stage {args.stage}', cwd: '{projectRoot}/', forwardAllArgs: false } },
            test: {
              executor: '@nx/jest:jest',
              inputs: [ '{projectRoot}/jest.config.(js|ts)', 'sharedTestInputs' ],
              options: { jestConfig: '{projectRoot}/jest.config.js', passWithNoTests: true },
              outputs: [ '{projectRoot}/.jestcache', '{workspaceRoot}/coverage/apps/{projectName}/**', '{workspaceRoot}/test-reports/{projectName}.xml' ]
            },
            'update-swagger': { executor: './tools/executors/execute-ts:execute-ts', options: { tsExecutor: '@integration/serverless-helpers:update-openapi-spec' } }
          },
          tasksRunnerOptions: {
            default: {
              options: {
                bucket: 'essent-integration-nx-cache',
                cacheableOperations: [ 'build', 'lint', 'test', 'integration-test', 'e2e-test' ],
                profile: 'cra-dev',
                region: 'eu-central-1',
                roleArn: 'arn:aws:iam::024754501755:role/integration-pipeline-role',
                silent: true,
                verbose: false
              },
              runner: './tools/task-runners/aws-cached-task-runner'
            }
          }
        }
      },
      jest: {
        config: {
          configs: [
            {
              automock: false,
              cache: true,
              cacheDirectory: '/private/var/folders/56/3kbtwmnx7rs4v12c5frl7ygr0000gn/T/jest_dx',
              clearMocks: false,
              collectCoverageFrom: [],
              coverageDirectory: '<homeDir>/gitlab/essent/functional-services/coverage/apps/metering',
              coveragePathIgnorePatterns: [ '/node_modules/' ],
              cwd: '<homeDir>/gitlab/essent/functional-services/apps/metering',
              dependencyExtractor: undefined,
              detectLeaks: false,
              detectOpenHandles: false,
              displayName: { color: 'white', name: 'metering' },
              errorOnDeprecated: false,
              extensionsToTreatAsEsm: [],
              fakeTimers: { enableGlobally: false },
              filter: undefined,
              forceCoverageMatch: [],
              globalSetup: undefined,
              globalTeardown: undefined,
              globals: {},
              haste: { computeSha1: false, enableSymlinks: false, forceNodeFilesystemAPI: true, throwOnModuleCollision: false },
              id: 'ca1422e06cc7bccc75bd1af60810e6c9',
              injectGlobals: true,
              moduleDirectories: [ 'node_modules' ],
              moduleFileExtensions: [ 'ts', 'js', 'html' ],
              moduleNameMapper: [
                [ '@integration/aws-helpers', '<homeDir>/gitlab/essent/functional-services/libs/aws-helpers/src/index.ts' ],
                [ '@integration/base-models', '<homeDir>/gitlab/essent/functional-services/libs/models/base-models/src/index.ts' ],
                [ '@integration/metering-api-models', '<homeDir>/gitlab/essent/functional-services/libs/models/metering-api-models/src/index.ts' ],
                [ '@integration/sap-es', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/sap/src/index.ts' ],
                [ '@integration/edsn-es', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/edsn/src/index.ts' ],
                [ '@integration/crs-es', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/crs/src/index.ts' ],
                [ '@integration/mrm-es', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/mrm/src/index.ts' ],
                [ '@integration/mapper-utils', '<homeDir>/gitlab/essent/functional-services/libs/mapper-utils/src/index.ts' ],
                [ '@integration/test-utils', '<homeDir>/gitlab/essent/functional-services/libs/test-utils/src/index.ts' ],
                [ '@integration/apigw-models', '<homeDir>/gitlab/essent/functional-services/libs/models/apigw-models/src/index.ts' ],
                [ '@integration/tpm-api-models', '<homeDir>/gitlab/essent/functional-services/libs/models/tpm-api-models/src/index.ts' ],
                [ '@integration/tpm-db-api', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/tpm-db-api/src/index.ts' ],
                [ '@integration/payment-api-models', '<homeDir>/gitlab/essent/functional-services/libs/models/payment-api-models/src/index.ts' ],
                [ '@integration/customer-api-models', '<homeDir>/gitlab/essent/functional-services/libs/models/customer-api-models/src/index.ts' ],
                [ '^@integration/accounts\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/accounts-api-models/src/index.ts' ],
                [ '^@integration/apigw\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/apigw-models/src/index.ts' ],
                [ '^@integration/aws\\-helpers$', '<homeDir>/gitlab/essent/functional-services/libs/aws-helpers/src/index.ts' ],
                [ '^@integration/aws\\-helpers/loggers$', '<homeDir>/gitlab/essent/functional-services/libs/aws-helpers/loggers/src/index.ts' ],
                [ '^@integration/base\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/base-models/src/index.ts' ],
                [ '^@integration/bcc\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/bcc/src/index.ts' ],
                [ '^@integration/become\\-a\\-customer\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/become-a-customer-api-models/src/index.ts' ],
                [ '^@integration/billing\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/billing-api-models/src/index.ts' ],
                [ '^@integration/bpm\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/bpm-api-models/src/index.ts' ],
                [ '^@integration/bpm\\-db\\-api\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/bpm-db-api/src/index.ts' ],
                [ '^@integration/bpm\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/bpm/src/index.ts' ],
                [ '^@integration/casemanagement\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/casemanagement-api-models/src/index.ts' ],
                [ '^@integration/cdk\\-common/constructs$', '<homeDir>/gitlab/essent/functional-services/libs/cdk-common/src/constructs/index.ts' ],
                [ '^@integration/cdk\\-common/environments$', '<homeDir>/gitlab/essent/functional-services/libs/cdk-common/src/environments/index.ts' ],
                [ '^@integration/cdk\\-common/types$', '<homeDir>/gitlab/essent/functional-services/libs/cdk-common/src/types/index.d.ts' ],
                [ '^@integration/cdk\\-common/utils$', '<homeDir>/gitlab/essent/functional-services/libs/cdk-common/src/utils/index.ts' ],
                [ '^@integration/ceyoniq\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/ceyoniq/src/index.ts' ],
                [ '^@integration/chatting\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/chatting-api-models/src/index.ts' ],
                [ '^@integration/common\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/common-api-models/src/index.ts' ],
                [ '^@integration/communication\\-document\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/communication-document/src/index.ts' ],
                [ '^@integration/consent\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/consent-api-models/src/index.ts' ],
                [ '^@integration/contracting\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/contracting-api-models/src/index.ts' ],
                [ '^@integration/crs\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/crs/src/index.ts' ],
                [ '^@integration/crs\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/crs-models/src/index.ts' ],
                [ '^@integration/customer\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/customer-api-models/src/index.ts' ],
                [ '^@integration/data\\-gathering\\-cache\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/data-gathering-cache/src/index.ts' ],
                [
                  '^@integration/document\\-processing\\-inspire\\-es$',
                  '<homeDir>/gitlab/essent/functional-services/libs/entity-services/document-processing-inspire/src/index.ts'
                ],
                [ '^@integration/edsn\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/edsn/src/index.ts' ],
                [ '^@integration/eliq\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/eliq/src/index.ts' ],
                [ '^@integration/emobility\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/emobility-api-models/src/index.ts' ],
                [ '^@integration/emobility\\-case\\-manager\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/emobility-case-manager/src/index.ts' ],
                [ '^@integration/ems\\-bridge\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/ems-bridge/src/index.ts' ],
                [ '^@integration/ems\\-helpers$', '<homeDir>/gitlab/essent/functional-services/libs/ems-helpers/src/index.ts' ],
                [ '^@integration/energy\\-insights\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/energy-insights-api-models/src/index.ts' ],
                [ '^@integration/energy\\-insights\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/energy-insights/src/index.ts' ],
                [ '^@integration/entity\\-services/consent\\-db$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/consent-db/src/index.ts' ],
                [ '^@integration/entity\\-services/consent\\-db/testing$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/consent-db/testing/index.ts' ],
                [ '^@integration/entity\\-services/helpers$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/helpers/src/index.ts' ],
                [ '^@integration/entity\\-services/informationstore$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/informationstore/src/index.ts' ],
                [ '^@integration/entity\\-services/loyalty$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/loyalty/src/index.ts' ],
                [ '^@integration/entity\\-services/suite\\-crm\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/suite-crm/src/index.ts' ],
                [ '^@integration/eplus\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/eplus-api-models/src/index.ts' ],
                [ '^@integration/fileupload\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/fileupload-api-models/src/index.ts' ],
                [ '^@integration/fileupload\\-helpers$', '<homeDir>/gitlab/essent/functional-services/libs/fileupload-helpers/src/index.ts' ],
                [ '^@integration/gdpr\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/gdpr/src/index.ts' ],
                [ '^@integration/gds\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/gds/src/index.ts' ],
                [ '^@integration/generators$', '<homeDir>/gitlab/essent/functional-services/tools/code-generators/src/generators/utils.ts' ],
                [ '^@integration/generic\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/generic-api-models/src/index.ts' ],
                [ '^@integration/iadvize\\-service$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/iadvize-service/src/index.ts' ],
                [ '^@integration/identification\\-service\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/identification-service/src/index.ts' ],
                [ '^@integration/iprocess\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/iprocess-api-models/src/index.ts' ],
                [ '^@integration/iprocess\\-db\\-api\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/iprocess-db-api/src/index.ts' ],
                [ '^@integration/klantenvertellen\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/klantenvertellen/src/index.ts' ],
                [ '^@integration/loyalty\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/loyalty-api-models/src/index.ts' ],
                [ '^@integration/mailroad\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/mailroad/src/index.ts' ],
                [ '^@integration/mapper\\-utils$', '<homeDir>/gitlab/essent/functional-services/libs/mapper-utils/src/index.ts' ],
                [ '^@integration/marketing\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/marketing-api-models/src/index.ts' ],
                [ '^@integration/metering\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/metering-api-models/src/index.ts' ],
                [ '^@integration/monthly\\-installment\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/monthly-installment-models/src/index.ts' ],
                [ '^@integration/mrm\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/mrm/src/index.ts' ],
                [ '^@integration/ods\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/ods-api-models/src/index.ts' ],
                [ '^@integration/ods\\-db\\-api\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/ods-db-api/src/index.ts' ],
                [ '^@integration/offerstore\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/offerstore/src/index.ts' ],
                [ '^@integration/oracle\\-helpers$', '<homeDir>/gitlab/essent/functional-services/libs/oracle-helpers/src/index.ts' ],
                [ '^@integration/payment\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/payment-api-models/src/index.ts' ],
                [ '^@integration/reviews\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/reviews-api-models/src/index.ts' ],
                [ '^@integration/sap\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/sap/src/index.ts' ],
                [ '^@integration/serverless\\-common$', '<homeDir>/gitlab/essent/functional-services/serverless-common-ts' ],
                [ '^@integration/serverless\\-helpers$', '<homeDir>/gitlab/essent/functional-services/libs/serverless-helpers/src/index.ts' ],
                [
                  '^@integration/serverless\\-helpers:build\\-swagger\\-ui$',
                  '<homeDir>/gitlab/essent/functional-services/libs/serverless-helpers/src/executors/build-swagger-ui/index.ts'
                ],
                [
                  '^@integration/serverless\\-helpers:update\\-openapi\\-spec$',
                  '<homeDir>/gitlab/essent/functional-services/libs/serverless-helpers/src/executors/update-openapi-spec/index.ts'
                ],
                [
                  '^@integration/serverless\\-helpers:update\\-raml\\-spec$',
                  '<homeDir>/gitlab/essent/functional-services/libs/serverless-helpers/src/executors/update-raml-spec/index.ts'
                ],
                [ '^@integration/sourcing\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/sourcing-es/src/index.ts' ],
                [ '^@integration/test\\-utils$', '<homeDir>/gitlab/essent/functional-services/libs/test-utils/src/index.ts' ],
                [ '^@integration/testcontainers$', '<homeDir>/gitlab/essent/functional-services/libs/testcontainers/src/index.ts' ],
                [ '^@integration/tpm\\-api\\-models$', '<homeDir>/gitlab/essent/functional-services/libs/models/tpm-api-models/src/index.ts' ],
                [ '^@integration/tpm\\-db\\-api$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/tpm-db-api/src/index.ts' ],
                [ '^@integration/vandebron\\-es$', '<homeDir>/gitlab/essent/functional-services/libs/entity-services/vandebron/src/index.ts' ],
                [ '^@tools/sanity\\-check$', '<homeDir>/gitlab/essent/functional-services/tools/sanity-check/index.ts' ]
              ],
              modulePathIgnorePatterns: [],
              modulePaths: undefined,
              openHandlesTimeout: 1000,
              prettierPath: 'prettier',
              resetMocks: false,
              resetModules: false,
              resolver: undefined,
              restoreMocks: false,
              rootDir: '<homeDir>/gitlab/essent/functional-services/apps/metering',
              roots: [ '<homeDir>/gitlab/essent/functional-services/apps/metering' ],
              runner: '<homeDir>/gitlab/essent/functional-services/node_modules/jest-runner/build/index.js',
              runtime: undefined,
              sandboxInjectedGlobals: [],
              setupFiles: [],
              setupFilesAfterEnv: [ '<homeDir>/gitlab/essent/functional-services/node_modules/jest-mock-console/dist/setupTestFramework.js' ],
              skipFilter: false,
              skipNodeResolution: undefined,
              slowTestThreshold: 5,
              snapshotFormat: { escapeString: false, printBasicPrototype: false },
              snapshotResolver: undefined,
              snapshotSerializers: [],
              testEnvironment: '<homeDir>/gitlab/essent/functional-services/node_modules/jest-environment-node/build/index.js',
              testEnvironmentOptions: {},
              testLocationInResults: false,
              testMatch: [ '**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)', '!**/*.(integration|e2e).(spec|test).ts', '!**/(integration|e2e).(spec|test).ts' ],
              testPathIgnorePatterns: [ '/node_modules/' ],
              testRegex: [],
              testRunner: '<homeDir>/gitlab/essent/functional-services/node_modules/jest-circus/runner.js',
              transform: [
                [
                  '^.+\\.(ts|js)$',
                  '<homeDir>/gitlab/essent/functional-services/node_modules/ts-jest/dist/index.js',
                  { tsconfig: '<rootDir>/tsconfig.spec.json', isolatedModules: false }
                ]
              ],
              transformIgnorePatterns: [ '/node_modules/', '\\.pnp\\.[^\\/]+$' ],
              unmockedModulePathPatterns: undefined,
              watchPathIgnorePatterns: []
            }
          ],
          globalConfig: {
            bail: 0,
            changedFilesWithAncestor: false,
            changedSince: undefined,
            ci: false,
            collectCoverage: true,
            collectCoverageFrom: [],
            coverageDirectory: '<homeDir>/gitlab/essent/functional-services/coverage/apps/metering',
            coverageProvider: 'babel',
            coverageReporters: [ 'text', 'json', 'cobertura', 'lcov' ],
            coverageThreshold: { global: { branches: 100, functions: 100, lines: 100, statements: 100 } },
            detectLeaks: false,
            detectOpenHandles: false,
            errorOnDeprecated: false,
            expand: false,
            filter: undefined,
            findRelatedTests: false,
            forceExit: false,
            globalSetup: undefined,
            globalTeardown: undefined,
            json: false,
            lastCommit: false,
            listTests: false,
            logHeapUsage: false,
            maxConcurrency: 5,
            maxWorkers: 11,
            noSCM: undefined,
            noStackTrace: false,
            nonFlagArgs: undefined,
            notify: false,
            notifyMode: 'failure-change',
            onlyChanged: false,
            onlyFailures: false,
            openHandlesTimeout: 1000,
            outputFile: undefined,
            passWithNoTests: false,
            projects: [],
            randomize: undefined,
            replname: undefined,
            reporters: [
              [ 'default', {} ],
              [
                '<homeDir>/gitlab/essent/functional-services/node_modules/jest-junit/index.js',
                {
                  outputName: 'junit_undefined.xml',
                  suiteNameTemplate: '{filepath}',
                  outputDirectory: 'undefined/test-reports',
                  classNameTemplate: '{classname}',
                  titleTemplate: '{title}',
                  ancestorSeparator: ' › '
                }
              ]
            ],
            rootDir: '<homeDir>/gitlab/essent/functional-services/apps/metering',
            runInBand: undefined,
            runTestsByPath: false,
            seed: 597375087,
            shard: undefined,
            showSeed: undefined,
            silent: undefined,
            skipFilter: false,
            snapshotFormat: { escapeString: false, printBasicPrototype: false },
            testFailureExitCode: 1,
            testNamePattern: undefined,
            testPathPattern: '',
            testResultsProcessor: undefined,
            testSequencer: '<homeDir>/gitlab/essent/functional-services/node_modules/@jest/test-sequencer/build/index.js',
            testTimeout: undefined,
            updateSnapshot: 'new',
            useStderr: false,
            verbose: undefined,
            watch: false,
            watchAll: false,
            watchPlugins: undefined,
            watchman: true,
            workerIdleMemoryLimit: undefined,
            workerThreads: false
          },
          hasDeprecationWarnings: false,
          wallaby: {
            roots: [],
            watchPathIgnorePatterns: [
              '/node_modules/',
              '\\./dist/|\\./build/|\\./coverage/|\\./git/|/\\..+/',
              '/private/var/folders/56/3kbtwmnx7rs4v12c5frl7ygr0000gn/T/jest_dx',
              '<homeDir>/gitlab/essent/functional-services/coverage/apps/metering'
            ],
            testPathIgnorePatterns: [
              '/node_modules/',
              '\\./dist/|\\./build/|\\./coverage/|\\./git/|/\\..+/',
              '/private/var/folders/56/3kbtwmnx7rs4v12c5frl7ygr0000gn/T/jest_dx',
              '<homeDir>/gitlab/essent/functional-services/coverage/apps/metering'
            ],
            testMatch: [ '**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)', '!**/*.(integration|e2e).(spec|test).ts', '!**/(integration|e2e).(spec|test).ts' ],
            testRegex: []
          }
        }
      }
    },
    testFramework: { version: 'jest@24.8.0', configurator: 'jest@24.8.0', reporter: 'jest@24.8.0', starter: 'jest@24.8.0', autoDetected: true },
    filesWithCoverageCalculated: [],
    filesWithNoCoverageCalculated: [],
    globalSetup: false,
    dot: true,
    files: [
      { pattern: '/node_modules/', regexp: /\/node_modules\//, ignore: true, trigger: true, load: true, file: true, test: true },
      {
        pattern: '\\./dist/|\\./build/|\\./coverage/|\\./git/|/\\..+/',
        regexp: /\.\/dist\/|\.\/build\/|\.\/coverage\/|\.\/git\/|\/\..+\//,
        ignore: true,
        trigger: true,
        load: true,
        file: true,
        test: true
      },
      {
        pattern: '/private/var/folders/56/3kbtwmnx7rs4v12c5frl7ygr0000gn/T/jest_dx',
        regexp: /\/private\/var\/folders\/56\/3kbtwmnx7rs4v12c5frl7ygr0000gn\/T\/jest_dx/,
        ignore: true,
        trigger: true,
        load: true,
        file: true,
        test: true
      },
      {
        pattern: '<homeDir>/gitlab/essent/functional-services/coverage/apps/metering',
        regexp: /\/Users\/adreijngoudt\/gitlab\/essent\/functional-services\/coverage\/apps\/metering/,
        ignore: true,
        trigger: true,
        load: true,
        file: true,
        test: true
      },
      { pattern: '**/**', ignore: false, trigger: true, load: true, order: 1 },
      { pattern: '**/__tests__/**/*.[jt]s?(x)', ignore: true, trigger: true, load: true, file: true },
      { pattern: '**/?(*.)+(spec|test).[jt]s?(x)', ignore: true, trigger: true, load: true, file: true }
    ],
    captureConsoleLog: true,
    tests: [
      { pattern: '/node_modules/', regexp: /\/node_modules\//, ignore: true, trigger: true, load: true, test: true, file: false },
      {
        pattern: '\\./dist/|\\./build/|\\./coverage/|\\./git/|/\\..+/',
        regexp: /\.\/dist\/|\.\/build\/|\.\/coverage\/|\.\/git\/|\/\..+\//,
        ignore: true,
        trigger: true,
        load: true,
        test: true,
        file: false
      },
      {
        pattern: '/private/var/folders/56/3kbtwmnx7rs4v12c5frl7ygr0000gn/T/jest_dx',
        regexp: /\/private\/var\/folders\/56\/3kbtwmnx7rs4v12c5frl7ygr0000gn\/T\/jest_dx/,
        ignore: true,
        trigger: true,
        load: true,
        test: true,
        file: false
      },
      {
        pattern: '<homeDir>/gitlab/essent/functional-services/coverage/apps/metering',
        regexp: /\/Users\/adreijngoudt\/gitlab\/essent\/functional-services\/coverage\/apps\/metering/,
        ignore: true,
        trigger: true,
        load: true,
        test: true,
        file: false
      },
      { pattern: '**/__tests__/**/*.[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 2 },
      { pattern: '**/?(*.)+(spec|test).[jt]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 3 },
      { pattern: '**/*.(integration|e2e).(spec|test).ts', ignore: true, trigger: true, load: true, test: true, file: false },
      { pattern: '**/(integration|e2e).(spec|test).ts', ignore: true, trigger: true, load: true, test: true, file: false }
    ],
    runAllTestsInAffectedTestFile: false,
    updateNoMoreThanOneSnapshotPerTestFileRun: false,
    compilers: {},
    smartStart: [ { test: true, source: false, pattern: '**/*', startMode: 'open' }, { test: false, source: true, pattern: '**/*', startMode: 'edit' } ],
    logLimits: { inline: { depth: 5, elements: 5000 }, values: { default: { stringLength: 200 }, autoExpand: { elements: 5000, stringLength: 8192, depth: 10 } } },
    preprocessors: {},
    maxConsoleMessagesPerTest: 100,
    autoConsoleLog: true,
    delays: { run: 0, edit: 100, update: 0 },
    workers: { initial: 0, regular: 0, recycle: false },
    teardown: undefined,
    hints: {
      ignoreCoverage: '__REGEXP /ignore coverage|istanbul ignore|c8 ignore/',
      ignoreCoverageForFile: '__REGEXP /ignore file coverage/',
      commentAutoLog: '?',
      testFileSelection: { include: '__REGEXP /file\\.only/', exclude: '__REGEXP /file\\.skip/' }
    },
    automaticTestFileSelection: true,
    runSelectedTestsOnly: true,
    mapConsoleMessagesStackTrace: false,
    extensions: {},
    env: {
      type: 'node',
      params: {},
      runner: '<homeDir>/.nvm/versions/node/v14.16.1/bin/node',
      viewportSize: { width: 800, height: 600 },
      options: { width: 800, height: 600 },
      bundle: true
    },
    reportUnhandledPromises: true,
    slowTestThreshold: 75,
    lowCoverageThreshold: 80,
    runAllTestsWhenNoAffectedTests: false,
    configCode: 'auto.detect#1038810368',
    testLocations: [ 'src/handlers/v3/getConsumptionData.spec.ts' ]
  },
  fs: { numberOfFiles: 231 },
  debug: [
    '2023-11-28T13:51:43.720Z project waiting for initial run signal\n',
    '2023-11-28T13:51:43.728Z config Attempting automatic configuration for angular\n',
    '2023-11-28T13:51:43.818Z angular/cli config Detected Angular CLI.\n',
    "2023-11-28T13:51:43.818Z angular/cli config Error: '<homeDir>/gitlab/essent/functional-services/nx.json' is not a valid Angular CLI file.\n" +
      '    at Object.configure (<homeDir>/.vscode/extensions/wallabyjs.wallaby-vscode-1.0.371/wallaby9707da/server.js:144:15698)\n' +
      '    at async automaticConfigurationProviders.reduce.Promise.resolve.success (<homeDir>/.vscode/extensions/wallabyjs.wallaby-vscode-1.0.371/wallaby9707da/server.js:132:12199)\n' +
      '    at async automaticConfigurationProviders.reduce.Promise.resolve.success (<homeDir>/.vscode/extensions/wallabyjs.wallaby-vscode-1.0.371/wallaby9707da/server.js:132:12084)\n' +
      '    at async automaticConfigurationProviders.reduce.Promise.resolve.success (<homeDir>/.vscode/extensions/wallabyjs.wallaby-vscode-1.0.371/wallaby9707da/server.js:132:12084)\n' +
      '    at async Config.load (<homeDir>/.vscode/extensions/wallabyjs.wallaby-vscode-1.0.371/wallaby9707da/server.js:132:12024)\n',
    '2023-11-28T13:51:43.820Z angular/cli config Angular.json: \n' +
      ' {\n' +
      "  '$schema': './node_modules/nx/schemas/nx-schema.json',\n" +
      "  affected: { defaultBase: 'production' },\n" +
      '  namedInputs: {\n' +
      "    default: [ '{projectRoot}/**/*', 'sharedGlobals' ],\n" +
      "    production: [ '{projectRoot}/**/*.ts', 'sharedGlobals' ],\n" +
      '    sharedGlobals: [],\n' +
      "    sharedTestInputs: [ '{projectRoot}/**/*.ts', '{projectRoot}/tsconfig.spec.json', '{workspaceRoot}/jest.config.js', '{workspaceRoot}/jest.preset.js' ]\n" +
      '  },\n' +
      '  targetDefaults: {\n' +
      '    build: {\n' +
      "      dependsOn: [ '^build' ],\n" +
      '      inputs: [\n' +
      "        '{projectRoot}/**/*.ts',\n" +
      "        '{projectRoot}/tsconfig.json',\n" +
      "        '{projectRoot}/tsconfig.app.json',\n" +
      "        '{workspaceRoot}/tsconfig.base.json',\n" +
      "        '{projectRoot}/webpack.config.(ts|js)',\n" +
      "        '{workspaceRoot}/webpack.ts.config.js',\n" +
      "        '!{projectRoot}/**/*.spec.ts',\n" +
      "        '!{projectRoot}/**/__mocks__/**',\n" +
      "        '{projectRoot}/serverless.yml',\n" +
      "        '{projectRoot}/serverless/**/*.yml'\n" +
      '      ]\n' +
      '    },\n' +
      "    deploy: { executor: 'nx:run-commands', options: { command: 'npx serverless deploy --verbose --stage {args.stage}', cwd: '{projectRoot}/', forwardAllArgs: false } },\n" +
      "    'e2e-test': { executor: '@nx/jest:jest', inputs: [ '{projectRoot}/jest.e2e.config.(js|ts)', 'sharedTestInputs' ], options: { jestConfig: '{projectRoot}/jest.e2e.config.js' } },\n" +
      "    'integration-test': { executor: '@nx/jest:jest', inputs: [ '{projectRoot}/jest.integration.config.(js|ts)', 'sharedTestInputs' ], options: { jestConfig: '{projectRoot}/jest.integration.config.js' } },\n" +
      "    lint: { executor: '@nx/linter:eslint', inputs: [ '{projectRoot}/**/*.ts', '{workspaceRoot}/.eslintrc.json' ], options: { lintFilePatterns: [ '{projectRoot}/**/*.ts' ] } },\n" +
      "    print: { executor: 'nx:run-commands', options: { command: 'npx serverless print --stage {args.stage}', cwd: '{projectRoot}/', forwardAllArgs: false } },\n" +
      '    test: {\n' +
      "      executor: '@nx/jest:jest',\n" +
      "      inputs: [ '{projectRoot}/jest.config.(js|ts)', 'sharedTestInputs' ],\n" +
      "      options: { jestConfig: '{projectRoot}/jest.config.js', passWithNoTests: true },\n" +
      "      outputs: [ '{projectRoot}/.jestcache', '{workspaceRoot}/coverage/apps/{projectName}/**', '{workspaceRoot}/test-reports/{projectName}.xml' ]\n" +
      '    },\n' +
      "    'update-swagger': { executor: './tools/executors/execute-ts:execute-ts', options: { tsExecutor: '@integration/serverless-helpers:update-openapi-spec' } }\n" +
      '  },\n' +
      '  tasksRunnerOptions: {\n' +
      '    default: {\n' +
      '      options: {\n' +
      "        bucket: 'essent-integration-nx-cache',\n" +
      "        cacheableOperations: [ 'build', 'lint', 'test', 'integration-test', 'e2e-test' ],\n" +
      "        profile: 'cra-dev',\n" +
      "        region: 'eu-central-1',\n" +
      "        roleArn: 'arn:aws:iam::024754501755:role/integration-pipeline-role',\n" +
      '        silent: true,\n' +
      '        verbose: false\n' +
      '      },\n' +
      "      runner: './tools/task-runners/aws-cached-task-runner'\n" +
      '    }\n' +
      '  }\n' +
      '}\n',
    "2023-11-28T13:51:43.820Z angular/cli config Error: '<homeDir>/gitlab/essent/functional-services/nx.json' is not a valid Angular CLI file.\n" +
      '    at Object.configure (<homeDir>/.vscode/extensions/wallabyjs.wallaby-vscode-1.0.371/wallaby9707da/server.js:144:15698)\n' +
      '    at async automaticConfigurationProviders.reduce.Promise.resolve.success (<homeDir>/.vscode/extensions/wallabyjs.wallaby-vscode-1.0.371/wallaby9707da/server.js:132:12199)\n' +
      '    at async automaticConfigurationProviders.reduce.Promise.resolve.success (<homeDir>/.vscode/extensions/wallabyjs.wallaby-vscode-1.0.371/wallaby9707da/server.js:132:12084)\n' +
      '    at async automaticConfigurationProviders.reduce.Promise.resolve.success (<homeDir>/.vscode/extensions/wallabyjs.wallaby-vscode-1.0.371/wallaby9707da/server.js:132:12084)\n' +
      '    at async Config.load (<homeDir>/.vscode/extensions/wallabyjs.wallaby-vscode-1.0.371/wallaby9707da/server.js:132:12024)\n',
    '2023-11-28T13:51:43.820Z config Finished attempting automatic configuration for angular (92ms)\n',
    '2023-11-28T13:51:43.820Z config Attempting automatic configuration for jest\n',
    '2023-11-28T13:51:43.911Z jest/config Detected Jest.\n',
    '2023-11-28T13:51:43.912Z jest/config Configured Jest.\n',
    '2023-11-28T13:51:43.912Z config Finished attempting automatic configuration for jest (92ms)\n',
    '2023-11-28T13:51:43.913Z project Wallaby Node version: v14.16.1\n',
    '2023-11-28T13:51:43.913Z project Wallaby config: <homeDir>/gitlab/essent/functional-services/apps/metering/auto.detect\n',
    '2023-11-28T13:51:43.938Z fs File system starting\n',
    '2023-11-28T13:51:43.985Z fs File system scan completed\n',
    '2023-11-28T13:51:43.989Z project File cache: <homeDir>/.vscode/extensions/wallabyjs.wallaby-vscode-1.0.371/projects/d6e16e344d816eb6\n',
    '2023-11-28T13:51:44.061Z uiService Listening port 51235\n',
    '2023-11-28T13:51:44.079Z workers Parallelism for initial run: 10, for regular run: 5\n',
    '2023-11-28T13:51:44.079Z workers Starting run worker instance #0\n',
    '2023-11-28T13:51:44.079Z workers Starting run worker instance #1\n',
    '2023-11-28T13:51:44.079Z workers Starting run worker instance #2\n',
    '2023-11-28T13:51:44.079Z workers Starting run worker instance #3\n',
    '2023-11-28T13:51:44.079Z workers Starting run worker instance #4\n',
    '2023-11-28T13:51:44.079Z workers Starting run worker instance #5\n',
    '2023-11-28T13:51:44.079Z workers Starting run worker instance #6\n',
    '2023-11-28T13:51:44.079Z workers Starting run worker instance #7\n',
    '2023-11-28T13:51:44.079Z workers Starting run worker instance #8\n',
    '2023-11-28T13:51:44.079Z workers Starting run worker instance #9\n',
    '2023-11-28T13:51:44.081Z workers Web server is listening at 59458\n',
    '2023-11-28T13:51:44.158Z project Stopping process pool\n',
    '2023-11-28T13:51:44.158Z project File cache is up-to-date, starting full test run\n',
    '2023-11-28T13:51:44.175Z project Test run started; run priority: 3\n',
    '2023-11-28T13:51:44.177Z project Running all tests\n',
    '2023-11-28T13:51:44.179Z project Test run finished\n',
    '2023-11-28T13:51:44.179Z project Test run data re-queued\n',
    '2023-11-28T13:51:44.184Z project Requested to run all tests\n',
    '2023-11-28T13:51:44.186Z project Test run started; run priority: 3\n',
    '2023-11-28T13:51:44.186Z project Running all tests\n',
    '2023-11-28T13:51:44.188Z workers Starting test run, priority: 3\n',
    '2023-11-28T13:51:44.188Z nodeRunner Starting sandbox [worker #0, session #dbkcr]\n',
    '2023-11-28T13:51:44.188Z nodeRunner Preparing sandbox [worker #0, session #dbkcr]\n',
    '2023-11-28T13:51:44.237Z workers Started run worker instance (delayed) #0\n',
    '2023-11-28T13:51:44.237Z nodeRunner Prepared sandbox [worker #0, session #dbkcr]\n',
    '2023-11-28T13:51:44.237Z workers [worker #0, session #dbkcr] Running tests in sandbox\n',
    '2023-11-28T13:51:44.244Z workers Started run worker instance (delayed) #2\n',
    '2023-11-28T13:51:44.246Z workers Started run worker instance (delayed) #1\n',
    '2023-11-28T13:51:44.258Z workers Started run worker instance (delayed) #4\n',
    '2023-11-28T13:51:44.260Z workers Started run worker instance (delayed) #5\n',
    '2023-11-28T13:51:44.260Z workers Started run worker instance (delayed) #3\n',
    '2023-11-28T13:51:44.267Z workers Started run worker instance (delayed) #6\n',
    '2023-11-28T13:51:44.278Z workers Started run worker instance (delayed) #7\n',
    '2023-11-28T13:51:44.279Z workers Started run worker instance (delayed) #8\n',
    '2023-11-28T13:51:44.292Z workers Started run worker instance (delayed) #9\n',
    "2023-11-28T13:51:54.976Z workers 'Scheduling Jest Test Run (dbkcr): 2023-11-28T13:51:44.506Z'\n",
    "2023-11-28T13:51:54.978Z workers Sandbox (active) [dbkcr] error: Cannot find module 'dns/promises' from '../../libs/aws-helpers/src/managers/DiscoveredAPIManager.ts'\n" +
      '\n' +
      'Require stack:\n' +
      '  <homeDir>/gitlab/essent/functional-services/libs/aws-helpers/src/managers/DiscoveredAPIManager.ts\n' +
      '  <homeDir>/gitlab/essent/functional-services/libs/aws-helpers/src/managers/index.ts\n' +
      '  <homeDir>/gitlab/essent/functional-services/libs/aws-helpers/src/index.ts\n' +
      '  <homeDir>/gitlab/essent/functional-services/libs/entity-services/sap/src/sap.ts\n' +
      '  <homeDir>/gitlab/essent/functional-services/libs/entity-services/sap/src/index.ts\n' +
      '  src/lib/consumptiondata/v3/getDailyConsumption.ts\n' +
      '  src/handlers/v3/getConsumptionData.spec.ts\n' +
      '\n' +
      '    at Resolver._throwModNotFoundError (<homeDir>/gitlab/essent/functional-services/node_modules/jest-resolve/build/resolver.js:427:11)\n' +
      '    at Resolver.resolveModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-resolve/build/resolver.js:358:10)\n' +
      '    at Resolver._getVirtualMockPath (<homeDir>/gitlab/essent/functional-services/node_modules/jest-resolve/build/resolver.js:619:14)\n' +
      '    at Resolver._getAbsolutePath (<homeDir>/gitlab/essent/functional-services/node_modules/jest-resolve/build/resolver.js:587:14)\n' +
      '    at Resolver.getModuleID (<homeDir>/gitlab/essent/functional-services/node_modules/jest-resolve/build/resolver.js:530:31)\n' +
      '    at Runtime._shouldMockCjs (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1713:37)\n' +
      '    at Runtime.requireModuleOrMock (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1045:16)\n' +
      '    at Object.<anonymous> (<homeDir>/gitlab/essent/functional-services/libs/aws-helpers/src/managers/DiscoveredAPIManager.ts:1:1)\n' +
      '    at Runtime._execModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1439:24)\n' +
      '    at Runtime._loadModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1022:12)\n' +
      '    at Runtime.requireModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:882:12)\n' +
      '    at Runtime.requireModuleOrMock (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1048:21)\n' +
      '    at Object.<anonymous> (<homeDir>/gitlab/essent/functional-services/libs/aws-helpers/src/managers/index.ts:7:1)\n' +
      '    at Runtime._execModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1439:24)\n' +
      '    at Runtime._loadModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1022:12)\n' +
      '    at Runtime.requireModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:882:12)\n' +
      '    at Runtime.requireModuleOrMock (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1048:21)\n' +
      '    at Object.<anonymous> (<homeDir>/gitlab/essent/functional-services/libs/aws-helpers/src/index.ts:1:1)\n' +
      '    at Runtime._execModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1439:24)\n' +
      '    at Runtime._loadModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1022:12)\n' +
      '    at Runtime.requireModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:882:12)\n' +
      '    at Runtime.requireModuleOrMock (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1048:21)\n' +
      '    at Object.<anonymous> (<homeDir>/gitlab/essent/functional-services/libs/entity-services/sap/src/sap.ts:1:1)\n' +
      '    at Runtime._execModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1439:24)\n' +
      '    at Runtime._loadModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1022:12)\n' +
      '    at Runtime.requireModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:882:12)\n' +
      '    at Runtime.requireModuleOrMock (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1048:21)\n' +
      '    at Object.<anonymous> (<homeDir>/gitlab/essent/functional-services/libs/entity-services/sap/src/index.ts:1:1)\n' +
      '    at Runtime._execModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1439:24)\n' +
      '    at Runtime._loadModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1022:12)\n' +
      '    at Runtime.requireModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:882:12)\n' +
      '    at Runtime.requireModuleOrMock (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1048:21)\n' +
      '    at Object.<anonymous> (./src/lib/consumptiondata/v3/getDailyConsumption.ts:7:38)\n' +
      '    at Runtime._execModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1439:24)\n' +
      '    at Runtime._loadModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1022:12)\n' +
      '    at Runtime.requireModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:882:12)\n' +
      '    at Runtime.requireModuleOrMock (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1048:21)\n' +
      '    at Object.<anonymous> (./src/handlers/v3/getConsumptionData.spec.ts:7:57)\n' +
      '    at Runtime._execModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1439:24)\n' +
      '    at Runtime._loadModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:1022:12)\n' +
      '    at Runtime.requireModule (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runtime/build/index.js:882:12)\n' +
      '    at jestAdapter (<homeDir>/gitlab/essent/functional-services/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n' +
      '    at runTestInternal (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runner/build/runTest.js:367:16)\n' +
      '    at runTest (<homeDir>/gitlab/essent/functional-services/node_modules/jest-runner/build/runTest.js:444:34)\n',
    '2023-11-28T13:51:54.986Z workers [dbkcr] Run 0 test(s), skipped 0 test(s)\n',
    "2023-11-28T13:51:54.986Z workers 'Jest Test Run Complete (dbkcr): 2023-11-28T13:51:54.974Z'\n",
    '2023-11-28T13:51:54.987Z workers [dbkcr] Sandbox is responsive, closing it\n',
    '2023-11-28T13:51:54.988Z project Test run finished\n',
    '2023-11-28T13:51:54.989Z project Processed console.log entries\n',
    '2023-11-28T13:51:54.989Z project Processed loading sequences\n',
    '2023-11-28T13:51:54.989Z project Processed executed tests\n',
    '2023-11-28T13:51:55.003Z project Processed code coverage\n',
    '2023-11-28T13:51:55.073Z project Test run result processed and sent to IDE\n'
  ]
}
smcenlly commented 9 months ago

Your Wallaby Diagnostics report shows that you are using node@v14.16.1.

The dns/promises module was not exposed until node@v15.0.0 (docs here - see history).

Please check what node version is running for other devs in your company and update to use the same version; it should work for you. By default, Wallaby will use your system version of node, but you can change this with a VS Code setting (wallaby.node) if you want to use a different version of node when running Wallaby.