wallabyjs / public

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

Cannot find Jest test runner, stack: Failed to initialize wallaby jest. #3218

Closed melshaabiny closed 1 year ago

melshaabiny commented 1 year ago

Issue description or question

The auto configuration did not work for my project setup so I used a custom config file below but getting Cannot find Jest test runner, stack: Failed to initialize wallaby jest. error:

module.exports = function(wallaby) {
  console.log(wallaby);
  return {
    files: [
      {
        pattern: ".env",
        instrument: false,
      },
      "tsconfig.json",
      "package.json",
      "jest.config.ts",
      "src/*",
      "scripts/*",
      "tests/*",
      "public/*",
      "config/*",
    ],
    tests: ["tests/**/*.test.tsx*"],
    env: {
      type: "node",
    },
    preprocessors: {
      "**/*.jsts": (file) => file.changeExt("js").content,
    },
    // compilers: {
    //   "**/*.+(t|j)s?(x)": wallaby.compilers.typeScript({
    //     outDir: "./any",
    //   }),
    // },
    testFramework: "jest",
    trace: true,
  };
};

Wallaby diagnostics report

{
  editorVersion: '1.78.2',
  pluginVersion: '1.0.355',
  editorType: 'VSCode',
  osVersion: 'linux 5.15.90.1-microsoft-standard-WSL2',
  nodeVersion: 'v14.17.4',
  coreVersion: '1.0.1423',
  config: {
    files: [
      { pattern: '.env', instrument: false, ignore: false, trigger: true, load: true, order: 1 },
      { pattern: 'tsconfig.json', ignore: false, trigger: true, load: true, instrument: true, order: 2 },
      { pattern: 'package.json', ignore: false, trigger: true, load: true, instrument: true, order: 3 },
      { pattern: 'jest.config.ts', ignore: false, trigger: true, load: true, instrument: true, order: 4 },
      { pattern: 'src/*', ignore: false, trigger: true, load: true, instrument: true, order: 5 },
      { pattern: 'scripts/*', ignore: false, trigger: true, load: true, instrument: true, order: 6 },
      { pattern: 'tests/*', ignore: false, trigger: true, load: true, instrument: true, order: 7 },
      { pattern: 'public/*', ignore: false, trigger: true, load: true, instrument: true, order: 8 },
      { pattern: 'config/*', ignore: false, trigger: true, load: true, instrument: true, order: 9 },
      { pattern: 'tests/**/*.test.tsx*.snap', ignore: false, instrument: false, trigger: true, load: true, order: 10 }
    ],
    tests: [ { pattern: 'tests/**/*.test.tsx*', ignore: false, trigger: true, load: true, test: true, order: 11 } ],
    env: {
      type: 'node',
      params: {},
      runner: '<homeDir>/.nvm/versions/node/v14.17.4/bin/node',
      viewportSize: { width: 800, height: 600 },
      options: { width: 800, height: 600 },
      bundle: true
    },
    preprocessors: { '**/*.jsts': [Function: **/*.jsts], 'package.json': [Function (anonymous)] },
    testFramework: { version: 'jest@0.4.3', configurator: 'jest@0.4.3', reporter: 'jest@0.4.3', starter: 'jest@0.4.3' },
    trace: true,
    diagnostics: {},
    captureConsoleLog: true,
    filesWithNoCoverageCalculated: [],
    runAllTestsInAffectedTestFile: false,
    updateNoMoreThanOneSnapshotPerTestFileRun: false,
    compilers: { '**/*.?(lit)coffee?(.md)': [Function (anonymous)] },
    logLimits: { inline: { depth: 5, elements: 5000 }, values: { default: { stringLength: 200 }, autoExpand: { elements: 5000, stringLength: 8192, depth: 10 } } },
    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: false,
    mapConsoleMessagesStackTrace: false,
    extensions: {},
    reportUnhandledPromises: true,
    slowTestThreshold: 75,
    lowCoverageThreshold: 80,
    runAllTestsWhenNoAffectedTests: false,
    configCode: 'module.exports = function(wallaby) {\r\n' +
      '  console.log(wallaby);\r\n' +
      '  return {\r\n' +
      '    files: [\r\n' +
      '      {\r\n' +
      '        pattern: ".env",\r\n' +
      '        instrument: false,\r\n' +
      '      },\r\n' +
      '      "tsconfig.json",\r\n' +
      '      "package.json",\r\n' +
      '      "jest.config.ts",\r\n' +
      '      "src/*",\r\n' +
      '      "scripts/*",\r\n' +
      '      "tests/*",\r\n' +
      '      "public/*",\r\n' +
      '      "config/*",\r\n' +
      '    ],\r\n' +
      '    tests: ["tests/**/*.test.tsx*"],\r\n' +
      '    env: {\r\n' +
      '      type: "node",\r\n' +
      '    },\r\n' +
      '    preprocessors: {\r\n' +
      '      "**/*.jsts": (file) => file.changeExt("js").content,\r\n' +
      '    },\r\n' +
      '    // compilers: {\r\n' +
      '    //   "**/*.+(t|j)s?(x)": wallaby.compilers.typeScript({\r\n' +
      '    //     outDir: "./any",\r\n' +
      '    //   }),\r\n' +
      '    // },\r\n' +
      '    testFramework: "jest",\r\n' +
      '    trace: true,\r\n' +
      '  };\r\n' +
      '};\r\n'
  },
  packageJSON: {
    dependencies: {
      '@auth0/auth0-react': '^1.4.0',
      '@fortawesome/fontawesome-svg-core': '^1.2.30',
      '@fortawesome/free-brands-svg-icons': '^5.14.0',
      '@fortawesome/free-regular-svg-icons': '^5.14.0',
      '@fortawesome/free-solid-svg-icons': '^5.15.1',
      '@fortawesome/react-fontawesome': '^0.1.11',
      '@fullcalendar/bootstrap': '5.7.2',
      '@fullcalendar/daygrid': '5.7.2',
      '@fullcalendar/interaction': '5.7.2',
      '@fullcalendar/list': '5.7.2',
      '@fullcalendar/react': '5.7.2',
      '@fullcalendar/timegrid': '5.7.2',
      '@headlessui/react': '^1.6.5',
      '@heroicons/react': '^2.0.0',
      '@loadable/component': '^5.13.2',
      '@sequelize/core': '^7.0.0-alpha.14',
      '@types/async': '^3.2.16',
      '@types/cfenv': '^1.2.0',
      async: '^3.2.4',
      axios: '^0.21.1',
      'axios-oauth-client': '^1.4.1',
      'axios-token-interceptor': '^0.2.0',
      bootstrap: '^4.5.3',
      cfenv: '^1.2.4',
      'chart.js': '^2.9.3',
      classnames: '^2.2.6',
      'cls-hooked': '^4.2.2',
      'csv-parse': '^5.3.3',
      dompurify: '^2.3.10',
      echarts: '^4.9.0',
      'echarts-for-react': '^2.0.16',
      'element-resize-event': '^3.0.3',
      'emoji-mart': '^3.0.0',
      express: '4.17.1',
      'express-fileupload': '^1.4.0',
      'express-list-endpoints': '^5.0.0',
      formik: '^2.2.5',
      'fuse.js': '^6.4.3',
      'ibm-cos-sdk': '^1.10.0',
      'iframe-resizer': '^4.3.2',
      'iframe-resizer-react': '^1.1.0',
      is_js: '^0.9.0',
      leaflet: '^1.7.1',
      'leaflet.markercluster': '^1.4.1',
      'leaflet.tilelayer.colorfilter': '^1.2.5',
      lodash: '^4.17.20',
      mathjs: '^10.4.1',
      moment: '^2.29.1',
      pg: '^8.5.1',
      plyr: '^3.6.2',
      'prism-react-renderer': '^0.1.7',
      'prop-types': '^15.8.1',
      qs: '^6.7.0',
      'razzle-plugin-svg-react-component': 'https://github.com/finmavis/razzle-plugin-svg-react-component',
      react: '^17.0.0',
      'react-accessible-accordion': '^3.3.5',
      'react-beautiful-dnd': '^13.0.0',
      'react-bootstrap': '^1.4.0',
      'react-chartjs-2': '^2.10.0',
      'react-countup': '^4.3.3',
      'react-datepicker': '^4.2.1',
      'react-datetime': '^2.16.3',
      'react-dom': '^17.0.0',
      'react-dropzone': '^10.2.2',
      'react-es6-progressbar.js': '^1.1.0',
      'react-google-charts': '^3.0.15',
      'react-gtm-module': '^2.0.11',
      'react-hook-form': '^6.13.1',
      'react-image-lightbox': '^5.1.1',
      'react-leaflet': '^2.7.0',
      'react-live': '^2.2.2',
      'react-number-format': '^5.0.0-beta.5',
      'react-responsive': '^8.2.0',
      'react-router-dom': '5.1.2',
      'react-scroll': '^1.8.1',
      'react-scrollbars-custom': '^4.0.25',
      'react-select': '^5.7.0',
      'react-switch': '^6.0.0',
      'react-toastify': '^5.5.0',
      reactstrap: '^8.7.1',
      'sequelize-typescript': '^2.1.3',
      'slick-carousel': '^1.8.1',
      'styled-components': '^5.2.1',
      'ts-node': '^10.0.0',
      uuid: '^3.4.0'
    },
    devDependencies: {
      '@babel/core': '^7.18.5',
      '@babel/preset-typescript': '^7.16.7',
      '@playwright/test': '^1.28.1',
      '@storybook/addon-a11y': '^6.5.9',
      '@storybook/addon-actions': '^6.5.9',
      '@storybook/addon-essentials': '^6.5.9',
      '@storybook/addon-interactions': '^6.5.9',
      '@storybook/addon-links': '^6.5.9',
      '@storybook/addon-postcss': '^2.0.0',
      '@storybook/builder-webpack4': '^6.5.9',
      '@storybook/manager-webpack4': '^6.5.9',
      '@storybook/react': '^6.5.9',
      '@storybook/test-runner': '^0.3.0',
      '@storybook/testing-library': '^0.0.13',
      '@svgr/webpack': '^5.5.0',
      '@tailwindcss/forms': '^0.5.2',
      '@testing-library/dom': '^8.11.3',
      '@testing-library/jest-dom': '^5.16.2',
      '@testing-library/react': '^12.1.2',
      '@testing-library/user-event': '^14.1.1',
      '@types/axios-token-interceptor': '^0.2.1',
      '@types/express': '^4.17.9',
      '@types/jest': '^27.4.1',
      '@types/node': '^16.14.2',
      '@types/pg': '^7.14.6',
      '@types/react': '^17.0.0',
      '@types/react-dom': '^17.0.0',
      '@types/react-router-dom': '^5.1.7',
      '@types/styled-components': '^5.1.7',
      '@types/uuid': '^8.3.0',
      '@types/validator': '^13.7.1',
      '@types/webpack-env': '^1.15.3',
      '@typescript-eslint/eslint-plugin': '^4.14.1',
      '@typescript-eslint/parser': '^4.14.1',
      autoprefixer: '^10.4.7',
      'axe-playwright': '^1.1.11',
      'babel-loader': '^8.2.5',
      'babel-plugin-styled-components': '^1.12.0',
      'browser-sync': '^2.26.12',
      chokidar: '^3.5.3',
      eslint: '^7.32.0',
      'eslint-config-react-app': '^6.0.0',
      'eslint-plugin-import': '^2.22.1',
      'eslint-plugin-jest': '^24.7.0',
      'eslint-plugin-node': '^11.1.0',
      'eslint-plugin-playwright': '^0.9.0',
      'eslint-plugin-react': '^7.22.0',
      'eslint-plugin-react-hooks': '^4.5.0',
      'html-webpack-plugin': '^4.5.2',
      jest: '^27.4.2',
      'jest-junit': '^13.0.0',
      postcss: '^8.4.14',
      prettier: '1.17.1',
      razzle: '~4.2.16',
      'razzle-dev-utils': '~4.2.16',
      'razzle-plugin-typescript': '~4.2.16',
      'react-select-event': '^5.5.1',
      'sequelize-auto': '^0.8.8',
      'sequelize-cli': '^6.4.1',
      'source-map-support': '^0.5.21',
      tailwindcss: '^3.1.4',
      'ts-jest': '^27.0.3',
      'tsconfig-paths-webpack-plugin': '^4.0.0',
      typescript: '~4.4.0',
      webpack: '^4.44.1'
    }
  },
  fs: { numberOfFiles: 131 },
  debug: [
    '2023-05-22T02:04:07.370Z project Wallaby Node version: v14.17.4\n',
    '2023-05-22T02:04:07.371Z project Wallaby config: <homeDir>/git/ratings-app/wallaby.js\n',
    '2023-05-22T02:04:07.386Z fs File system starting\n',
    '2023-05-22T02:04:07.802Z fs File system scan completed\n',
    '2023-05-22T02:04:07.808Z project File cache: <homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/projects/8a9422e912392bb1\n',
    '2023-05-22T02:04:07.813Z uiService Listening port 51236\n',
    '2023-05-22T02:04:07.817Z project Config file change detected, invalidating local cache\n',
    '2023-05-22T02:04:07.837Z workers Parallelism for initial run: 10, for regular run: 5\n',
    '2023-05-22T02:04:07.838Z workers Starting run worker instance #0\n',
    '2023-05-22T02:04:07.838Z workers Starting run worker instance #1\n',
    '2023-05-22T02:04:07.839Z workers Starting run worker instance #2\n',
    '2023-05-22T02:04:07.839Z workers Starting run worker instance #3\n',
    '2023-05-22T02:04:07.839Z workers Starting run worker instance #4\n',
    '2023-05-22T02:04:07.839Z workers Starting run worker instance #5\n',
    '2023-05-22T02:04:07.840Z workers Starting run worker instance #6\n',
    '2023-05-22T02:04:07.840Z workers Starting run worker instance #7\n',
    '2023-05-22T02:04:07.840Z workers Starting run worker instance #8\n',
    '2023-05-22T02:04:07.840Z workers Starting run worker instance #9\n',
    '2023-05-22T02:04:07.841Z workers Web server is listening at 32925\n',
    '2023-05-22T02:04:07.842Z project File cache requires some updates, waiting required files from IDE\n',
    '2023-05-22T02:04:08.584Z workers Started run worker instance (delayed) #0\n',
    '2023-05-22T02:04:08.585Z workers Started run worker instance (delayed) #3\n',
    '2023-05-22T02:04:08.585Z workers Started run worker instance (delayed) #8\n',
    '2023-05-22T02:04:08.585Z workers Started run worker instance (delayed) #7\n',
    '2023-05-22T02:04:08.586Z workers Started run worker instance (delayed) #5\n',
    '2023-05-22T02:04:08.590Z workers Started run worker instance (delayed) #2\n',
    '2023-05-22T02:04:08.590Z workers Started run worker instance (delayed) #1\n',
    '2023-05-22T02:04:08.592Z workers Started run worker instance (delayed) #6\n',
    '2023-05-22T02:04:08.592Z workers Started run worker instance (delayed) #4\n',
    '2023-05-22T02:04:08.593Z workers Started run worker instance (delayed) #9\n',
    '2023-05-22T02:04:09.333Z project Stopping process pool\n',
    '2023-05-22T02:04:09.335Z project Running postprocessor\n',
    '2023-05-22T02:04:09.343Z postprocessor New TypeScript language service is required\n',
    '2023-05-22T02:04:13.597Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.603Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.606Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.608Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.609Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.611Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.613Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.617Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.620Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.624Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.625Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.626Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.629Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.630Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.632Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.633Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.640Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.645Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.655Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.660Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.661Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.662Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.664Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.665Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.666Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.668Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.670Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.672Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.673Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.675Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.676Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.682Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.684Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.688Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.689Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.690Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.698Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.703Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.706Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.708Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.711Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.715Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.717Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.723Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.731Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.735Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.738Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.742Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.745Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.748Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.750Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.751Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.755Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.757Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.759Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.765Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.767Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.769Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.770Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.780Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.781Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.782Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.783Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.784Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.786Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.787Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.788Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.798Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.800Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.808Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.811Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.814Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.815Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.817Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.818Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.819Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.821Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.822Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.823Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.824Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.826Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.829Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.830Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.830Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.831Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.833Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.835Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.837Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.839Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.840Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.841Z project Re-attaching document block comment\n',
    '2023-05-22T02:04:13.887Z project Postprocessor execution finished\n',
    '2023-05-22T02:04:13.887Z project Test run started; run priority: 3\n',
    '2023-05-22T02:04:13.888Z project Running all tests\n',
    '2023-05-22T02:04:13.893Z workers Starting test run, priority: 3\n',
    '2023-05-22T02:04:13.893Z workers Distributing tests between 10 workers\n',
    '2023-05-22T02:04:13.897Z workers Running tests in parallel\n',
    '2023-05-22T02:04:13.898Z nodeRunner Starting sandbox [worker #0, session #uwcmb]\n',
    '2023-05-22T02:04:13.898Z nodeRunner Starting sandbox [worker #1, session #1tj69]\n',
    '2023-05-22T02:04:13.899Z nodeRunner Starting sandbox [worker #2, session #vx34w]\n',
    '2023-05-22T02:04:13.899Z nodeRunner Starting sandbox [worker #3, session #9tgf6]\n',
    '2023-05-22T02:04:13.899Z nodeRunner Starting sandbox [worker #4, session #bgwsc]\n',
    '2023-05-22T02:04:13.899Z nodeRunner Starting sandbox [worker #5, session #6h13h]\n',
    '2023-05-22T02:04:13.899Z nodeRunner Starting sandbox [worker #6, session #g5r6d]\n',
    '2023-05-22T02:04:13.899Z nodeRunner Starting sandbox [worker #7, session #iznyw]\n',
    '2023-05-22T02:04:13.899Z nodeRunner Starting sandbox [worker #8, session #jly07]\n',
    '2023-05-22T02:04:13.899Z nodeRunner Starting sandbox [worker #9, session #1sh2n]\n',
    '2023-05-22T02:04:13.899Z nodeRunner Preparing sandbox [worker #0, session #uwcmb]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Preparing sandbox [worker #1, session #1tj69]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Preparing sandbox [worker #2, session #vx34w]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Preparing sandbox [worker #3, session #9tgf6]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Preparing sandbox [worker #4, session #bgwsc]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Preparing sandbox [worker #5, session #6h13h]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Preparing sandbox [worker #6, session #g5r6d]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Preparing sandbox [worker #7, session #iznyw]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Preparing sandbox [worker #8, session #jly07]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Preparing sandbox [worker #9, session #1sh2n]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Prepared sandbox [worker #0, session #uwcmb]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Prepared sandbox [worker #1, session #1tj69]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Prepared sandbox [worker #2, session #vx34w]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Prepared sandbox [worker #3, session #9tgf6]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Prepared sandbox [worker #4, session #bgwsc]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Prepared sandbox [worker #5, session #6h13h]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Prepared sandbox [worker #6, session #g5r6d]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Prepared sandbox [worker #7, session #iznyw]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Prepared sandbox [worker #8, session #jly07]\n',
    '2023-05-22T02:04:13.900Z nodeRunner Prepared sandbox [worker #9, session #1sh2n]\n',
    '2023-05-22T02:04:13.901Z workers [worker #0, session #uwcmb] Running tests in sandbox\n',
    '2023-05-22T02:04:13.903Z workers [worker #1, session #1tj69] Running tests in sandbox\n',
    '2023-05-22T02:04:13.903Z workers [worker #2, session #vx34w] Running tests in sandbox\n',
    '2023-05-22T02:04:13.904Z workers [worker #3, session #9tgf6] Running tests in sandbox\n',
    '2023-05-22T02:04:13.905Z workers [worker #4, session #bgwsc] Running tests in sandbox\n',
    '2023-05-22T02:04:13.905Z workers [worker #5, session #6h13h] Running tests in sandbox\n',
    '2023-05-22T02:04:13.906Z workers [worker #6, session #g5r6d] Running tests in sandbox\n',
    '2023-05-22T02:04:13.906Z workers [worker #7, session #iznyw] Running tests in sandbox\n',
    '2023-05-22T02:04:13.907Z workers [worker #8, session #jly07] Running tests in sandbox\n',
    '2023-05-22T02:04:13.907Z workers [worker #9, session #1sh2n] Running tests in sandbox\n',
    '2023-05-22T02:04:13.914Z workers Sandbox (active) [vx34w] error: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)\n' +
      '    at internal/main/run_main_module.js:17:47\n',
    '2023-05-22T02:04:13.915Z workers Failed to map the stack to user code, entry message: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner, stack: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Object.<anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/runners/node/jest@0.4.3/initializer.js:14:8943)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Module._0x546758._compile (eval at <anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/node_modules/q/q.js:2075:6), <anonymous>:1:1158612)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at Module.n.require (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/server.js:32:2897)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at n (<homeDir>/.vscode-server/extensions/wallabyjs.wal\n',
    '2023-05-22T02:04:13.915Z workers Sandbox (active) [6h13h] error: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)\n' +
      '    at internal/main/run_main_module.js:17:47\n',
    '2023-05-22T02:04:13.916Z workers Failed to map the stack to user code, entry message: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner, stack: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Object.<anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/runners/node/jest@0.4.3/initializer.js:14:8943)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Module._0x546758._compile (eval at <anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/node_modules/q/q.js:2075:6), <anonymous>:1:1158612)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at Module.n.require (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/server.js:32:2897)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at n (<homeDir>/.vscode-server/extensions/wallabyjs.wal\n',
    '2023-05-22T02:04:13.916Z workers Sandbox (active) [bgwsc] error: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)\n' +
      '    at internal/main/run_main_module.js:17:47\n',
    '2023-05-22T02:04:13.916Z workers Failed to map the stack to user code, entry message: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner, stack: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Object.<anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/runners/node/jest@0.4.3/initializer.js:14:8943)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Module._0x546758._compile (eval at <anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/node_modules/q/q.js:2075:6), <anonymous>:1:1158612)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at Module.n.require (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/server.js:32:2897)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at n (<homeDir>/.vscode-server/extensions/wallabyjs.wal\n',
    '2023-05-22T02:04:13.916Z workers Sandbox (active) [1tj69] error: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)\n' +
      '    at internal/main/run_main_module.js:17:47\n',
    '2023-05-22T02:04:13.916Z workers Failed to map the stack to user code, entry message: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner, stack: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Object.<anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/runners/node/jest@0.4.3/initializer.js:14:8943)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Module._0x546758._compile (eval at <anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/node_modules/q/q.js:2075:6), <anonymous>:1:1158612)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at Module.n.require (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/server.js:32:2897)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at n (<homeDir>/.vscode-server/extensions/wallabyjs.wal\n',
    '2023-05-22T02:04:13.917Z workers Sandbox (active) [iznyw] error: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)\n' +
      '    at internal/main/run_main_module.js:17:47\n',
    '2023-05-22T02:04:13.917Z workers Failed to map the stack to user code, entry message: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner, stack: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Object.<anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/runners/node/jest@0.4.3/initializer.js:14:8943)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Module._0x546758._compile (eval at <anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/node_modules/q/q.js:2075:6), <anonymous>:1:1158612)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at Module.n.require (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/server.js:32:2897)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at n (<homeDir>/.vscode-server/extensions/wallabyjs.wal\n',
    '2023-05-22T02:04:13.917Z workers Sandbox (active) [9tgf6] error: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)\n' +
      '    at internal/main/run_main_module.js:17:47\n',
    '2023-05-22T02:04:13.917Z workers Failed to map the stack to user code, entry message: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner, stack: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Object.<anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/runners/node/jest@0.4.3/initializer.js:14:8943)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Module._0x546758._compile (eval at <anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/node_modules/q/q.js:2075:6), <anonymous>:1:1158612)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at Module.n.require (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/server.js:32:2897)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at n (<homeDir>/.vscode-server/extensions/wallabyjs.wal\n',
    '2023-05-22T02:04:13.917Z workers Sandbox (active) [jly07] error: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)\n' +
      '    at internal/main/run_main_module.js:17:47\n',
    '2023-05-22T02:04:13.918Z workers Failed to map the stack to user code, entry message: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner, stack: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Object.<anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/runners/node/jest@0.4.3/initializer.js:14:8943)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Module._0x546758._compile (eval at <anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/node_modules/q/q.js:2075:6), <anonymous>:1:1158612)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at Module.n.require (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/server.js:32:2897)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at n (<homeDir>/.vscode-server/extensions/wallabyjs.wal\n',
    '2023-05-22T02:04:13.918Z workers Sandbox (active) [g5r6d] error: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)\n' +
      '    at internal/main/run_main_module.js:17:47\n',
    '2023-05-22T02:04:13.918Z workers Failed to map the stack to user code, entry message: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner, stack: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Object.<anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/runners/node/jest@0.4.3/initializer.js:14:8943)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Module._0x546758._compile (eval at <anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/node_modules/q/q.js:2075:6), <anonymous>:1:1158612)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at Module.n.require (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/server.js:32:2897)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at n (<homeDir>/.vscode-server/extensions/wallabyjs.wal\n',
    '2023-05-22T02:04:13.918Z workers Sandbox (active) [uwcmb] error: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)\n' +
      '    at internal/main/run_main_module.js:17:47\n',
    '2023-05-22T02:04:13.918Z workers Failed to map the stack to user code, entry message: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner, stack: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Object.<anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/runners/node/jest@0.4.3/initializer.js:14:8943)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Module._0x546758._compile (eval at <anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/node_modules/q/q.js:2075:6), <anonymous>:1:1158612)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at Module.n.require (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/server.js:32:2897)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at n (<homeDir>/.vscode-server/extensions/wallabyjs.wal\n',
    '2023-05-22T02:04:13.925Z workers Sandbox (active) [1sh2n] error: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)\n' +
      '    at internal/main/run_main_module.js:17:47\n',
    '2023-05-22T02:04:13.925Z workers Failed to map the stack to user code, entry message: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner, stack: Failed to initialize wallaby jest.\n' +
      'Error: Cannot find Jest test runner\n' +
      '    at Object.<anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/runners/node/jest@0.4.3/initializer.js:14:8943)\n' +
      '    at Module._compile (internal/modules/cjs/loader.js:1072:14)\n' +
      '    at Module._0x546758._compile (eval at <anonymous> (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/node_modules/q/q.js:2075:6), <anonymous>:1:1158612)\n' +
      '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)\n' +
      '    at Module.load (internal/modules/cjs/loader.js:937:32)\n' +
      '    at Function.Module._load (internal/modules/cjs/loader.js:778:12)\n' +
      '    at Module.require (internal/modules/cjs/loader.js:961:19)\n' +
      '    at Module.n.require (<homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/wallaby492dc9/server.js:32:2897)\n' +
      '    at require (internal/modules/cjs/helpers.js:92:18)\n' +
      '    at n (<homeDir>/.vscode-server/extensions/wallabyjs.wal\n',
    '2023-05-22T02:04:14.015Z workers [vx34w] Run 0 test(s), skipped 0 test(s)\n',
    '2023-05-22T02:04:14.015Z workers [6h13h] Run 0 test(s), skipped 0 test(s)\n',
    '2023-05-22T02:04:14.015Z workers [bgwsc] Run 0 test(s), skipped 0 test(s)\n',
    '2023-05-22T02:04:14.017Z workers [1tj69] Run 0 test(s), skipped 0 test(s)\n',
    '2023-05-22T02:04:14.017Z workers [iznyw] Run 0 test(s), skipped 0 test(s)\n',
    '2023-05-22T02:04:14.018Z workers [9tgf6] Run 0 test(s), skipped 0 test(s)\n',
    '2023-05-22T02:04:14.018Z workers [jly07] Run 0 test(s), skipped 0 test(s)\n',
    '2023-05-22T02:04:14.018Z workers [g5r6d] Run 0 test(s), skipped 0 test(s)\n',
    '2023-05-22T02:04:14.018Z workers [uwcmb] Run 0 test(s), skipped 0 test(s)\n',
    '2023-05-22T02:04:14.019Z workers [bgwsc] Sandbox is responsive, closing it\n',
    '2023-05-22T02:04:14.020Z workers [6h13h] Sandbox is responsive, closing it\n',
    '2023-05-22T02:04:14.020Z workers [vx34w] Sandbox is responsive, closing it\n',
    '2023-05-22T02:04:14.022Z workers [iznyw] Sandbox is responsive, closing it\n',
    '2023-05-22T02:04:14.022Z workers [1tj69] Sandbox is responsive, closing it\n',
    '2023-05-22T02:04:14.023Z workers [jly07] Sandbox is responsive, closing it\n',
    '2023-05-22T02:04:14.023Z workers [9tgf6] Sandbox is responsive, closing it\n',
    '2023-05-22T02:04:14.023Z workers [g5r6d] Sandbox is responsive, closing it\n',
    '2023-05-22T02:04:14.024Z workers [1sh2n] Run 0 test(s), skipped 0 test(s)\n',
    '2023-05-22T02:04:14.025Z workers [uwcmb] Sandbox is responsive, closing it\n',
    '2023-05-22T02:04:14.028Z workers [1sh2n] Sandbox is responsive, closing it\n',
    '2023-05-22T02:04:14.028Z workers Merging parallel test run results\n',
    '2023-05-22T02:04:14.029Z project Test run finished\n',
    '2023-05-22T02:04:14.029Z project Processed console.log entries\n',
    '2023-05-22T02:04:14.029Z project Processed loading sequences\n',
    '2023-05-22T02:04:14.029Z project Processed executed tests\n',
    '2023-05-22T02:04:14.049Z project Processed code coverage\n',
    '2023-05-22T02:04:14.141Z project Test run result processed and sent to IDE\n'
  ]
}
ArtemGovorov commented 1 year ago

Hello, the auto configuration should work for your project setup. Can you please delete your manual config, run auto configuration and paste your Wallaby Diagnostics report so we can see why auto configuration is not working for you?

melshaabiny commented 1 year ago

This is the error I get when I remove the config file and use Auto Configuration : Runtime error: Failed to run jest globalSetup: Jest: Got error running globalSetup - ./tests/setup.ts, reason: Cannot find module 'node:util'​​

Report:

{
  editorVersion: '1.78.2',
  pluginVersion: '1.0.355',
  editorType: 'VSCode',
  osVersion: 'linux 5.15.90.1-microsoft-standard-WSL2',
  nodeVersion: 'v14.17.4',
  coreVersion: '1.0.1423',
  config: {
    diagnostics: {
      jest: {
        config: {
          configs: [
            {
              automock: false,
              cache: true,
              cacheDirectory: '/tmp/jest_rs',
              clearMocks: false,
              coveragePathIgnorePatterns: [ '/node_modules/' ],
              cwd: '<homeDir>/git/ratings-app',
              dependencyExtractor: undefined,
              detectLeaks: false,
              detectOpenHandles: false,
              displayName: undefined,
              errorOnDeprecated: false,
              extensionsToTreatAsEsm: [ '.ts' ],
              extraGlobals: [],
              filter: undefined,
              forceCoverageMatch: [],
              globalSetup: '<homeDir>/git/ratings-app/tests/setup.ts',
              globalTeardown: '<homeDir>/git/ratings-app/tests/teardown.ts',
              globals: { 'ts-jest': { diagnostics: { warnOnly: true } } },
              haste: { computeSha1: false, enableSymlinks: false, forceNodeFilesystemAPI: false, throwOnModuleCollision: false },
              injectGlobals: true,
              moduleDirectories: [ 'node_modules', 'tests', 'src' ],
              moduleFileExtensions: [ 'js', 'jsx', 'ts', 'tsx', 'json', 'node' ],
              moduleLoader: undefined,
              moduleNameMapper: [ [ '\\.css$', '<homeDir>/git/ratings-app/src/__mocks__/css.ts' ], [ '\\.(svg|png|gif|jpg|jpeg)$', '<homeDir>/git/ratings-app/src/__mocks__/img.ts' ] ],
              modulePathIgnorePatterns: [],
              modulePaths: undefined,
              name: '4756db04e6176cf375bd72fa3fad26c6',
              prettierPath: 'prettier',
              resetMocks: false,
              resetModules: false,
              resolver: undefined,
              restoreMocks: false,
              rootDir: '<homeDir>/git/ratings-app',
              roots: [ '<homeDir>/git/ratings-app' ],
              runner: '<homeDir>/git/ratings-app/node_modules/jest-runner/build/index.js',
              setupFiles: [ '<homeDir>/git/ratings-app/tests/jest-setup-env.ts' ],
              setupFilesAfterEnv: [],
              skipFilter: false,
              skipNodeResolution: undefined,
              slowTestThreshold: 5,
              snapshotFormat: undefined,
              snapshotResolver: undefined,
              snapshotSerializers: [],
              testEnvironment: '<homeDir>/git/ratings-app/node_modules/jest-environment-node/build/index.js',
              testEnvironmentOptions: {},
              testLocationInResults: false,
              testMatch: [ '**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)' ],
              testPathIgnorePatterns: [ '/node_modules/', '<homeDir>/git/ratings-app/tests/e2e/' ],
              testRegex: [],
              testRunner: '<homeDir>/git/ratings-app/node_modules/jest-circus/runner.js',
              testURL: 'http://localhost',
              timers: 'real',
              transform: [ [ '^.+\\.tsx?$', '<homeDir>/git/ratings-app/node_modules/ts-jest/dist/index.js', {} ] ],
              transformIgnorePatterns: [ '/node_modules/', '\\.pnp\\.[^\\/]+$' ],
              unmockedModulePathPatterns: undefined,
              watchPathIgnorePatterns: []
            }
          ],
          globalConfig: {
            bail: 0,
            changedFilesWithAncestor: false,
            changedSince: undefined,
            collectCoverage: false,
            collectCoverageFrom: [],
            collectCoverageOnlyFrom: undefined,
            coverageDirectory: '<homeDir>/git/ratings-app/coverage',
            coverageProvider: 'babel',
            coverageReporters: [ 'json', 'text', 'lcov', 'clover' ],
            coverageThreshold: undefined,
            detectLeaks: false,
            detectOpenHandles: false,
            errorOnDeprecated: false,
            expand: false,
            filter: undefined,
            findRelatedTests: false,
            forceExit: false,
            globalSetup: '<homeDir>/git/ratings-app/tests/setup.ts',
            globalTeardown: '<homeDir>/git/ratings-app/tests/teardown.ts',
            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,
            outputFile: undefined,
            passWithNoTests: false,
            projects: [],
            replname: undefined,
            reporters: undefined,
            rootDir: '<homeDir>/git/ratings-app',
            runTestsByPath: false,
            silent: undefined,
            skipFilter: false,
            snapshotFormat: undefined,
            testFailureExitCode: 1,
            testNamePattern: undefined,
            testPathPattern: '',
            testResultsProcessor: undefined,
            testSequencer: '<homeDir>/git/ratings-app/node_modules/@jest/test-sequencer/build/index.js',
            testTimeout: undefined,
            updateSnapshot: 'new',
            useStderr: false,
            verbose: undefined,
            watch: false,
            watchAll: false,
            watchPlugins: undefined,
            watchman: true
          },
          hasDeprecationWarnings: false,
          wallaby: {
            roots: [],
            watchPathIgnorePatterns: [ '/node_modules/', '\\./dist/|\\./build/|\\./coverage/|\\./git/|/\\..+/', '/tmp/jest_rs', '\\./tests/e2e/', '\\./coverage' ],
            testPathIgnorePatterns: [ '/node_modules/', '\\./dist/|\\./build/|\\./coverage/|\\./git/|/\\..+/', '/tmp/jest_rs', '\\./tests/e2e/', '\\./coverage' ],
            testMatch: [ '**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)' ],
            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: true,
    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: '/tmp/jest_rs', regexp: /\/tmp\/jest_rs/, ignore: true, trigger: true, load: true, file: true, test: true },
      { pattern: '\\./tests/e2e/', regexp: /\.\/tests\/e2e\//, ignore: true, trigger: true, load: true, file: true, test: true },
      { pattern: '\\./coverage', regexp: /\.\/coverage/, 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).[tj]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: '/tmp/jest_rs', regexp: /\/tmp\/jest_rs/, ignore: true, trigger: true, load: true, test: true, file: false },
      { pattern: '\\./tests/e2e/', regexp: /\.\/tests\/e2e\//, ignore: true, trigger: true, load: true, test: true, file: false },
      { pattern: '\\./coverage', regexp: /\.\/coverage/, 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).[tj]s?(x)', ignore: false, trigger: true, load: true, test: true, order: 3 }
    ],
    runAllTestsInAffectedTestFile: false,
    updateNoMoreThanOneSnapshotPerTestFileRun: false,
    compilers: {},
    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: false,
    mapConsoleMessagesStackTrace: false,
    extensions: {},
    env: {
      type: 'node',
      params: {},
      runner: '<homeDir>/.nvm/versions/node/v14.17.4/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#-949341348'
  },
  packageJSON: {
    dependencies: {
      '@auth0/auth0-react': '^1.4.0',
      '@fortawesome/fontawesome-svg-core': '^1.2.30',
      '@fortawesome/free-brands-svg-icons': '^5.14.0',
      '@fortawesome/free-regular-svg-icons': '^5.14.0',
      '@fortawesome/free-solid-svg-icons': '^5.15.1',
      '@fortawesome/react-fontawesome': '^0.1.11',
      '@fullcalendar/bootstrap': '5.7.2',
      '@fullcalendar/daygrid': '5.7.2',
      '@fullcalendar/interaction': '5.7.2',
      '@fullcalendar/list': '5.7.2',
      '@fullcalendar/react': '5.7.2',
      '@fullcalendar/timegrid': '5.7.2',
      '@headlessui/react': '^1.6.5',
      '@heroicons/react': '^2.0.0',
      '@loadable/component': '^5.13.2',
      '@sequelize/core': '^7.0.0-alpha.14',
      '@types/async': '^3.2.16',
      '@types/cfenv': '^1.2.0',
      async: '^3.2.4',
      axios: '^0.21.1',
      'axios-oauth-client': '^1.4.1',
      'axios-token-interceptor': '^0.2.0',
      bootstrap: '^4.5.3',
      cfenv: '^1.2.4',
      'chart.js': '^2.9.3',
      classnames: '^2.2.6',
      'cls-hooked': '^4.2.2',
      'csv-parse': '^5.3.3',
      dompurify: '^2.3.10',
      echarts: '^4.9.0',
      'echarts-for-react': '^2.0.16',
      'element-resize-event': '^3.0.3',
      'emoji-mart': '^3.0.0',
      express: '4.17.1',
      'express-fileupload': '^1.4.0',
      'express-list-endpoints': '^5.0.0',
      formik: '^2.2.5',
      'fuse.js': '^6.4.3',
      'ibm-cos-sdk': '^1.10.0',
      'iframe-resizer': '^4.3.2',
      'iframe-resizer-react': '^1.1.0',
      is_js: '^0.9.0',
      leaflet: '^1.7.1',
      'leaflet.markercluster': '^1.4.1',
      'leaflet.tilelayer.colorfilter': '^1.2.5',
      lodash: '^4.17.20',
      mathjs: '^10.4.1',
      moment: '^2.29.1',
      pg: '^8.5.1',
      plyr: '^3.6.2',
      'prism-react-renderer': '^0.1.7',
      'prop-types': '^15.8.1',
      qs: '^6.7.0',
      'razzle-plugin-svg-react-component': 'https://github.com/finmavis/razzle-plugin-svg-react-component',
      react: '^17.0.0',
      'react-accessible-accordion': '^3.3.5',
      'react-beautiful-dnd': '^13.0.0',
      'react-bootstrap': '^1.4.0',
      'react-chartjs-2': '^2.10.0',
      'react-countup': '^4.3.3',
      'react-datepicker': '^4.2.1',
      'react-datetime': '^2.16.3',
      'react-dom': '^17.0.0',
      'react-dropzone': '^10.2.2',
      'react-es6-progressbar.js': '^1.1.0',
      'react-google-charts': '^3.0.15',
      'react-gtm-module': '^2.0.11',
      'react-hook-form': '^6.13.1',
      'react-image-lightbox': '^5.1.1',
      'react-leaflet': '^2.7.0',
      'react-live': '^2.2.2',
      'react-number-format': '^5.0.0-beta.5',
      'react-responsive': '^8.2.0',
      'react-router-dom': '5.1.2',
      'react-scroll': '^1.8.1',
      'react-scrollbars-custom': '^4.0.25',
      'react-select': '^5.7.0',
      'react-switch': '^6.0.0',
      'react-toastify': '^5.5.0',
      reactstrap: '^8.7.1',
      'sequelize-typescript': '^2.1.3',
      'slick-carousel': '^1.8.1',
      'styled-components': '^5.2.1',
      'ts-node': '^10.0.0',
      uuid: '^3.4.0'
    },
    devDependencies: {
      '@babel/core': '^7.18.5',
      '@babel/preset-typescript': '^7.16.7',
      '@playwright/test': '^1.28.1',
      '@storybook/addon-a11y': '^6.5.9',
      '@storybook/addon-actions': '^6.5.9',
      '@storybook/addon-essentials': '^6.5.9',
      '@storybook/addon-interactions': '^6.5.9',
      '@storybook/addon-links': '^6.5.9',
      '@storybook/addon-postcss': '^2.0.0',
      '@storybook/builder-webpack4': '^6.5.9',
      '@storybook/manager-webpack4': '^6.5.9',
      '@storybook/react': '^6.5.9',
      '@storybook/test-runner': '^0.3.0',
      '@storybook/testing-library': '^0.0.13',
      '@svgr/webpack': '^5.5.0',
      '@tailwindcss/forms': '^0.5.2',
      '@testing-library/dom': '^8.11.3',
      '@testing-library/jest-dom': '^5.16.2',
      '@testing-library/react': '^12.1.2',
      '@testing-library/user-event': '^14.1.1',
      '@types/axios-token-interceptor': '^0.2.1',
      '@types/express': '^4.17.9',
      '@types/jest': '^27.4.1',
      '@types/node': '^16.14.2',
      '@types/pg': '^7.14.6',
      '@types/react': '^17.0.0',
      '@types/react-dom': '^17.0.0',
      '@types/react-router-dom': '^5.1.7',
      '@types/styled-components': '^5.1.7',
      '@types/uuid': '^8.3.0',
      '@types/validator': '^13.7.1',
      '@types/webpack-env': '^1.15.3',
      '@typescript-eslint/eslint-plugin': '^4.14.1',
      '@typescript-eslint/parser': '^4.14.1',
      autoprefixer: '^10.4.7',
      'axe-playwright': '^1.1.11',
      'babel-loader': '^8.2.5',
      'babel-plugin-styled-components': '^1.12.0',
      'browser-sync': '^2.26.12',
      chokidar: '^3.5.3',
      eslint: '^7.32.0',
      'eslint-config-react-app': '^6.0.0',
      'eslint-plugin-import': '^2.22.1',
      'eslint-plugin-jest': '^24.7.0',
      'eslint-plugin-node': '^11.1.0',
      'eslint-plugin-playwright': '^0.9.0',
      'eslint-plugin-react': '^7.22.0',
      'eslint-plugin-react-hooks': '^4.5.0',
      'html-webpack-plugin': '^4.5.2',
      jest: '^27.4.2',
      'jest-junit': '^13.0.0',
      postcss: '^8.4.14',
      prettier: '1.17.1',
      razzle: '~4.2.16',
      'razzle-dev-utils': '~4.2.16',
      'razzle-plugin-typescript': '~4.2.16',
      'react-select-event': '^5.5.1',
      'sequelize-auto': '^0.8.8',
      'sequelize-cli': '^6.4.1',
      'source-map-support': '^0.5.21',
      tailwindcss: '^3.1.4',
      'ts-jest': '^27.0.3',
      'tsconfig-paths-webpack-plugin': '^4.0.0',
      typescript: '~4.4.0',
      webpack: '^4.44.1'
    }
  },
  fs: { numberOfFiles: 7873 },
  debug: [
    '2023-05-22T02:30:28.803Z config Attempting automatic configuration for angular\n',
    '2023-05-22T02:30:28.807Z angular/cli config Angular CLI not found.\n',
    '2023-05-22T02:30:28.807Z config Finished attempting automatic configuration for angular (4ms)\n',
    '2023-05-22T02:30:28.807Z config Attempting automatic configuration for jest\n',
    '2023-05-22T02:30:30.794Z jest/config Detected Jest.\n',
    '2023-05-22T02:30:30.795Z jest/config Configured Jest.\n',
    '2023-05-22T02:30:30.795Z config Finished attempting automatic configuration for jest (1988ms)\n',
    '2023-05-22T02:30:30.796Z project Wallaby Node version: v14.17.4\n',
    '2023-05-22T02:30:30.796Z project Wallaby config: <homeDir>/git/ratings-app/auto.detect\n',
    '2023-05-22T02:30:30.812Z fs File system starting\n',
    '2023-05-22T02:30:32.822Z fs File system scan completed\n',
    '2023-05-22T02:30:32.867Z project File cache: <homeDir>/.vscode-server/extensions/wallabyjs.wallaby-vscode-1.0.355/projects/a4bf350e1503e30d\n',
    '2023-05-22T02:30:32.871Z uiService Listening port 51236\n',
    '2023-05-22T02:30:32.874Z project package.json file change detected, invalidating local cache\n',
    '2023-05-22T02:30:33.055Z workers Parallelism for initial run: 10, for regular run: 5\n',
    '2023-05-22T02:30:33.055Z workers Starting run worker instance #0\n',
    '2023-05-22T02:30:33.055Z workers Starting run worker instance #1\n',
    '2023-05-22T02:30:33.055Z workers Starting run worker instance #2\n',
    '2023-05-22T02:30:33.055Z workers Starting run worker instance #3\n',
    '2023-05-22T02:30:33.055Z workers Starting run worker instance #4\n',
    '2023-05-22T02:30:33.055Z workers Starting run worker instance #5\n',
    '2023-05-22T02:30:33.055Z workers Starting run worker instance #6\n',
    '2023-05-22T02:30:33.055Z workers Starting run worker instance #7\n',
    '2023-05-22T02:30:33.055Z workers Starting run worker instance #8\n',
    '2023-05-22T02:30:33.055Z workers Starting run worker instance #9\n',
    '2023-05-22T02:30:33.055Z workers Starting run worker instance #10\n',
    '2023-05-22T02:30:33.056Z workers Web server is listening at 37225\n',
    '2023-05-22T02:30:33.056Z project File cache requires some updates, waiting required files from IDE\n',
    '2023-05-22T02:30:33.702Z workers Started run worker instance (delayed) #3\n',
    '2023-05-22T02:30:33.710Z workers Started run worker instance (delayed) #4\n',
    '2023-05-22T02:30:33.710Z workers Started run worker instance (delayed) #0\n',
    '2023-05-22T02:30:33.711Z workers Started run worker instance (delayed) #2\n',
    '2023-05-22T02:30:33.711Z workers Started run worker instance (delayed) #1\n',
    '2023-05-22T02:30:33.711Z workers Started run worker instance (delayed) #8\n',
    '2023-05-22T02:30:33.711Z workers Started run worker instance (delayed) #5\n',
    '2023-05-22T02:30:33.711Z workers Started run worker instance (delayed) #9\n',
    '2023-05-22T02:30:33.711Z workers Started run worker instance (delayed) #6\n',
    '2023-05-22T02:30:33.711Z workers Started run worker instance (delayed) #7\n',
    '2023-05-22T02:30:33.712Z workers Started run worker instance (delayed) #10\n',
    '2023-05-22T02:30:33.724Z project Stopping process pool\n',
    '2023-05-22T02:30:33.725Z project Test run started; run priority: 3\n',
    '2023-05-22T02:30:33.734Z project Running all tests\n',
    '2023-05-22T02:30:33.808Z workers Starting test run, priority: 3\n',
    '2023-05-22T02:30:33.808Z nodeRunner Starting sandbox [worker #11, session #a3w2y]\n',
    '2023-05-22T02:30:33.808Z nodeRunner Preparing sandbox [worker #11, session #a3w2y]\n',
    '2023-05-22T02:30:33.808Z workers Starting run worker instance #11\n',
    '2023-05-22T02:30:34.136Z workers Started run worker instance (delayed) #11\n',
    '2023-05-22T02:30:34.136Z nodeRunner Prepared sandbox [worker #11, session #a3w2y]\n',
    "2023-05-22T02:30:42.514Z workers Sandbox (active) [a3w2y] error: Failed to run jest globalSetup: Jest: Got error running globalSetup - ./tests/setup.ts, reason: Cannot find module 'node:util'\n" +
      'Require stack:\n' +
      '- ./node_modules/@sequelize/core/lib/utils/string.js\n' +
      '- ./node_modules/@sequelize/core/lib/utils/object.js\n' +
      '- ./node_modules/@sequelize/core/lib/utils/index.js\n' +
      '- ./node_modules/@sequelize/core/lib/model.js\n' +
      '- ./node_modules/@sequelize/core/lib/utils/model-utils.js\n' +
      '- ./node_modules/@sequelize/core/lib/sequelize.js\n' +
      '- ./node_modules/@sequelize/core/lib/index.js\n' +
      '- ./src/models/index.ts\n' +
      '- ./tests/setup.ts\n' +
      '- ./node_modules/jest-util/build/requireOrImportModule.js\n' +
      '- ./node_modules/jest-util/build/index.js\n' +
      '- ./node_modules/jest-config/build/getCacheDirectory.js\n' +
      '- ./node_modules/jest-config/build/Defaults.js\n' +
      '- ./node_modules/jest-config/build/normalize.js\n' +
      '- ./node_modules/jest-config/build/index.js\n' +
      '- ./node_modules/jest-cli/build/init/index.js\n' +
      '- ./node_modules/jest-cli/build/cli/index.js\n' +
      '- ./node_modules/jest-cli/build/index.js\n' +
      '- ./node_modules/jest/build/jest.js/wallaby.js\n',
    '2023-05-22T02:30:42.516Z workers [a3w2y] Sandbox is not responsive, recycling worker instance\n',
    '2023-05-22T02:30:42.516Z workers Recyling run worker instance #11\n',
    "2023-05-22T02:30:42.517Z workers Failed to map the stack to user code, entry message: Failed to run jest globalSetup: Jest: Got error running globalSetup - <homeDir>/git/ratings-app/tests/setup.ts, reason: Cannot find module 'node:util'\n" +
      'Require stack:\n' +
      '- <homeDir>/git/ratings-app/node_modules/@sequelize/core/lib/utils/string.js\n' +
      '- <homeDir>/git/ratings-app/node_modules/@sequelize/core/lib/utils/object.js\n' +
      '- <homeDir>/git/ratings-app/node_modules/@sequelize/core/lib/utils/index.js\n' +
      '- <homeDir>/git/ratings-app/node_modules/@sequelize/core/lib/model.js\n' +
      '- <homeDir>/git/ratings-app/node_modules/@sequelize/core/lib/utils/model-utils.js\n' +
      '- <homeDir>/git/ratings-app/node_modules/@sequelize/core/lib/sequelize.js\n' +
      '- <homeDir>/git/ratings-app/node_modules/@sequelize/core/lib/index.js\n' +
      '- <homeDir>/git/ratings-app/src/models/index.ts\n' +
      '- <homeDir>/git/ratings-app/tests/setup.ts\n' +
      '- <homeDir>/git/ratings-app/node_modules/jest-util/build/requireOrImportModule.js\n' +
      "- <homeDir>/git/ratings-app/node_modules/jest-util/build/index., stack: Failed to run jest globalSetup: Jest: Got error running globalSetup - <homeDir>/git/ratings-app/tests/setup.ts, reason: Cannot find module 'node:util'\n" +
      'Require stack:\n' +
      '- <homeDir>/git/ratings-app/node_modules/@sequelize/core/lib/utils/string.js\n' +
      '- <homeDir>/git/ratings-app/node_modules/@sequelize/core/lib/utils/object.js\n' +
      '- <homeDir>/git/ratings-app/node_modules/@sequelize/core/lib/utils/index.js\n' +
      '- <homeDir>/git/ratings-app/node_modules/@sequelize/core/lib/model.js\n' +
      '- <homeDir>/git/ratings-app/node_modules/@sequelize/core/lib/utils/model-utils.js\n' +
      '- <homeDir>/git/ratings-app/node_modules/@sequelize/core/lib/sequelize.js\n' +
      '- <homeDir>/git/ratings-app/node_modules/@sequelize/core/lib/index.js\n' +
      '- <homeDir>/git/ratings-app/src/models/index.ts\n' +
      '- <homeDir>/git/ratings-app/tests/setup.ts\n' +
      '- <homeDir>/git/ratings-app/node_modules/jest-util/build/requireOrImportModule.js\n' +
      '- <homeDir>/git/ratings-app/node_modules/jest-util/build/index.\n',
    '2023-05-22T02:30:42.517Z workers [a3w2y] Run 0 test(s), skipped 0 test(s)\n',
    '2023-05-22T02:30:42.518Z project Test run finished\n',
    '2023-05-22T02:30:42.518Z project Processed console.log entries\n',
    '2023-05-22T02:30:42.518Z project Processed loading sequences\n',
    '2023-05-22T02:30:42.518Z project Processed executed tests\n',
    '2023-05-22T02:30:42.525Z project Processed code coverage\n',
    '2023-05-22T02:30:42.529Z project Test run result processed and sent to IDE\n'
  ]
}
ArtemGovorov commented 1 year ago

Thanks for providing the details.

From the report it looks like your ratings-app/tests/setup.ts setup file is using node: prefix to import node:util, however the node.js version that your Wallaby is configured to use (v14.17.4) doesn't support such prefixed imports.

By default Wallaby is using node version from your PATH, so one option is to update your default node version. If you don't want to update your default node version, you may configure Wallaby in VS Code to use the desired node version via Wallaby VS Code setting:

{
    ...
    "wallaby.node": "<PATH_TO_YOUR_NODE>"
}
melshaabiny commented 1 year ago

That did it. Thank you.