wallabyjs / public

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

VS Code: provide a user setting for Automatic Configuration custom directory #3070

Open ness-EE opened 2 years ago

ness-EE commented 2 years ago

Allow Automatic Configuration Custom Directory to be saved in VS Code settings

At the moment in some VS Code workspaces that do not have the JavaScript project in the root directory I need to set custom directory every time I start VS Code.

Is there a way to save this path in my workspace settings json file? If not, might it be something for the future?

Wallaby diagnostics report

{
  editorVersion: '1.71.0',
  pluginVersion: '1.0.347',
  editorType: 'VSCode',
  osVersion: 'darwin 21.6.0',
  nodeVersion: 'v16.14.2 - Electron',
  coreVersion: '1.0.1328',
  checksum: 'YTY2NmNjYWU3YzYyMWUxNjA3ZTY1YmVlMjViOGQ4MjYsMTY5MjQwMzIwMDAwMCww',
  config: {
    diagnostics: {
      jest: {
        config: {
          configs: [
            {
              automock: false,
              cache: true,
              cacheDirectory: '/private/var/folders/xh/w_flyzzs7hl3dlzktnj4__gr0000gn/T/jest_dx',
              clearMocks: false,
              coveragePathIgnorePatterns: [ '/node_modules/' ],
              cwd: '<homeDir>/Sites/chelsea/src/Website',
              dependencyExtractor: undefined,
              detectLeaks: false,
              detectOpenHandles: false,
              displayName: undefined,
              errorOnDeprecated: false,
              extensionsToTreatAsEsm: [],
              extraGlobals: [],
              filter: undefined,
              forceCoverageMatch: [],
              globalSetup: undefined,
              globalTeardown: undefined,
              globals: {},
              haste: { computeSha1: false, enableSymlinks: false, forceNodeFilesystemAPI: false, throwOnModuleCollision: false },
              injectGlobals: true,
              moduleDirectories: [ 'node_modules' ],
              moduleFileExtensions: [ 'js', 'jsx', 'json', 'ts', 'tsx' ],
              moduleLoader: undefined,
              moduleNameMapper: [
                [ '^@src(.*)$', '<homeDir>/Sites/chelsea/src/Website/src/src/$1' ],
                [ '^@media(.*)$', '<homeDir>/Sites/chelsea/src/Website/src/media/$1' ],
                [ '^@styles(.*)$', '<homeDir>/Sites/chelsea/src/Website/src/styles/$1' ],
                [ '^@components(.*)$', '<homeDir>/Sites/chelsea/src/Website/src/components/$1' ],
                [ '^@core(.*)$', '<homeDir>/Sites/chelsea/src/Website/src/core/$1' ],
                [ '^@layouts(.*)$', '<homeDir>/Sites/chelsea/src/Website/src/layouts/$1' ],
                [ '^@contexts(.*)$', '<homeDir>/Sites/chelsea/src/Website/src/contexts/$1' ],
                [ '^@hooks(.*)$', '<homeDir>/Sites/chelsea/src/Website/src/hooks/$1' ]
              ],
              modulePathIgnorePatterns: [ '<homeDir>/Sites/chelsea/src/Website/cypress/' ],
              modulePaths: undefined,
              name: 'df6984a8455899a64a13b23efd9a079f',
              prettierPath: 'prettier',
              resetMocks: false,
              resetModules: false,
              resolver: undefined,
              restoreMocks: false,
              rootDir: '<homeDir>/Sites/chelsea/src/Website',
              roots: [ '<homeDir>/Sites/chelsea/src/Website' ],
              runner: '<homeDir>/Sites/chelsea/src/Website/node_modules/jest-runner/build/index.js',
              setupFiles: [ '<homeDir>/Sites/chelsea/src/Website/tests/unit/setup.js' ],
              setupFilesAfterEnv: [],
              skipFilter: false,
              skipNodeResolution: undefined,
              slowTestThreshold: 5,
              snapshotFormat: undefined,
              snapshotResolver: undefined,
              snapshotSerializers: [],
              testEnvironment: '<homeDir>/Sites/chelsea/src/Website/node_modules/jest-environment-jsdom/build/index.js',
              testEnvironmentOptions: {},
              testLocationInResults: false,
              testMatch: [ '**/*.spec.(js|jsx|ts|tsx)|**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)' ],
              testPathIgnorePatterns: [ '/node_modules/' ],
              testRegex: [],
              testRunner: '<homeDir>/Sites/chelsea/src/Website/node_modules/jest-circus/runner.js',
              testURL: 'http://localhost:5001/en/',
              timers: 'real',
              transform: [
                [ '.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$', '<homeDir>/Sites/chelsea/src/Website/node_modules/jest-transform-stub/index.js', {} ],
                [ '^.+\\.[t|j]sx?$', '<homeDir>/Sites/chelsea/src/Website/node_modules/jest-config/node_modules/babel-jest/build/index.js', {} ]
              ],
              transformIgnorePatterns: [ '/node_modules/', '\\.pnp\\.[^\\/]+$' ],
              unmockedModulePathPatterns: undefined,
              watchPathIgnorePatterns: []
            }
          ],
          globalConfig: {
            bail: 0,
            changedFilesWithAncestor: false,
            changedSince: undefined,
            collectCoverage: false,
            collectCoverageFrom: [ 'src/**/*.{js,ts,vue}', '!src/*.d.ts', '!src/**/*.config.js', '!src/**/*.sample.js', '!src/polyfills/**/*' ],
            collectCoverageOnlyFrom: undefined,
            coverageDirectory: '<homeDir>/Sites/chelsea/src/Website/coverage',
            coverageProvider: 'babel',
            coverageReporters: [ 'json', 'text', 'lcov', 'clover' ],
            coverageThreshold: { global: { statements: 0, branches: 0, functions: 0, lines: 0 } },
            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: 9,
            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>/Sites/chelsea/src/Website',
            runTestsByPath: false,
            silent: undefined,
            skipFilter: false,
            snapshotFormat: undefined,
            testFailureExitCode: 1,
            testNamePattern: undefined,
            testPathPattern: '',
            testResultsProcessor: undefined,
            testSequencer: '<homeDir>/Sites/chelsea/src/Website/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/|/\\..+/', '/private/var/folders/xh/w_flyzzs7hl3dlzktnj4__gr0000gn/T/jest_dx', '\\./cypress/', '\\./coverage' ],
            testPathIgnorePatterns: [ '/node_modules/', '\\./dist/|\\./build/|\\./coverage/|\\./git/|/\\..+/', '/private/var/folders/xh/w_flyzzs7hl3dlzktnj4__gr0000gn/T/jest_dx', '\\./cypress/', '\\./coverage' ],
            testMatch: [ '**/*.spec.(js|jsx|ts|tsx)|**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)' ],
            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: [ 'src/**/*.{js,ts,vue}', '!src/*.d.ts', '!src/**/*.config.js', '!src/**/*.sample.js', '!src/polyfills/**/*' ],
    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/xh/w_flyzzs7hl3dlzktnj4__gr0000gn/T/jest_dx',
        regexp: /\/private\/var\/folders\/xh\/w_flyzzs7hl3dlzktnj4__gr0000gn\/T\/jest_dx/,
        ignore: true,
        trigger: true,
        load: true,
        file: true,
        test: true
      },
      { pattern: '\\./cypress/', regexp: /\.\/cypress\//, 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: '**/*.spec.(js|jsx|ts|tsx)|**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)', ignore: true, trigger: true, load: true, file: 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/xh/w_flyzzs7hl3dlzktnj4__gr0000gn/T/jest_dx',
        regexp: /\/private\/var\/folders\/xh\/w_flyzzs7hl3dlzktnj4__gr0000gn\/T\/jest_dx/,
        ignore: true,
        trigger: true,
        load: true,
        test: true,
        file: false
      },
      { pattern: '\\./cypress/', regexp: /\.\/cypress\//, 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: '**/*.spec.(js|jsx|ts|tsx)|**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)', ignore: false, trigger: true, load: true, test: true, order: 2 }
    ],
    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/',
      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: '/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper',
      viewportSize: { width: 800, height: 600 },
      options: { width: 800, height: 600 },
      bundle: true
    },
    reportUnhandledPromises: true,
    slowTestThreshold: 75,
    lowCoverageThreshold: 80,
    loose: true,
    configCode: 'auto.detect#1160341643'
  },
  packageJSON: {
    dependencies: {
      '@date-io/dayjs': '^1.3.13',
      '@material-ui/core': '^4.12.4',
      '@material-ui/pickers': '^3.3.10',
      '@splidejs/react-splide': '^0.7.8',
      '@types/lodash': '^4.14.172',
      '@types/react-aria-menubutton': '^6.2.9',
      '@types/react-autosuggest': '^10.1.5',
      '@types/react-daterange-picker': '^2.0.8',
      '@types/react-slick': '^0.23.4',
      ably: '^1.2.17',
      axios: '^0.21.1',
      'brotli-webpack-plugin': '^1.1.0',
      dayjs: '^1.11.4',
      he: '^1.2.0',
      'html-entities': '^2.3.3',
      'js-cookie': '^2.2.1',
      lazysizes: '^5.2.0',
      'lodash.camelcase': '^4.3.0',
      'lodash.clonedeep': '^4.5.0',
      'lodash.debounce': '^4.0.8',
      'lodash.flow': '^3.5.0',
      'lodash.get': '^4.4.2',
      'lodash.intersection': '^4.4.0',
      'lodash.isequal': '^4.5.0',
      'lodash.kebabcase': '^4.1.1',
      'lodash.map': '^4.6.0',
      'lodash.merge': '^4.6.2',
      'lodash.pick': '^4.4.0',
      'lodash.snakecase': '^4.1.1',
      'lodash.startcase': '^4.4.0',
      'lodash.uniqueid': '^4.0.1',
      'lodash.upperfirst': '^4.3.1',
      notation: '^2.0.0',
      react: '^16.12.0',
      'react-aria-menubutton': '^7.0.3',
      'react-autosuggest': '^10.1.0',
      'react-circular-progressbar': '^2.0.4',
      'react-config': '^2.0.0',
      'react-daterange-picker': '^2.0.1',
      'react-dom': '^16.12.0',
      'react-dynamic-import': '^1.1.4',
      'react-habitat': '^1.0.1',
      'react-helmet': '^6.1.0',
      'react-jw-player': '^1.19.1',
      'react-perfect-scrollbar': '^1.5.8',
      'react-reveal': '^1.2.2',
      'react-slick': '^0.28.1',
      'react-youtube': '^7.9.0',
      relazsizes: '^1.0.2',
      'slick-carousel': '^1.8.1',
      slugify: '^1.6.5'
    },
    devDependencies: {
      '@babel/core': '~7.16.7',
      '@babel/plugin-proposal-class-properties': '~7.16.7',
      '@babel/plugin-proposal-export-default-from': '^7.16.7',
      '@babel/plugin-proposal-export-namespace-from': '~7.16.7',
      '@babel/plugin-proposal-object-rest-spread': '~7.16.7',
      '@babel/plugin-proposal-throw-expressions': '~7.16.7',
      '@babel/plugin-syntax-dynamic-import': '~7.8.3',
      '@babel/plugin-transform-runtime': '~7.16.7',
      '@babel/preset-env': '~7.16.7',
      '@babel/preset-react': '~7.16.7',
      '@babel/register': '~7.16.7',
      '@pmmmwh/react-refresh-webpack-plugin': '~0.5.4',
      '@storybook/addon-actions': '^6.4.19',
      '@storybook/addon-essentials': '^6.4.19',
      '@storybook/addon-interactions': '^6.4.19',
      '@storybook/addon-links': '^6.4.19',
      '@storybook/builder-webpack5': '^6.4.19',
      '@storybook/manager-webpack5': '^6.4.19',
      '@storybook/preset-create-react-app': '^4.1.0',
      '@storybook/preset-scss': '^1.0.3',
      '@storybook/react': '^6.4.19',
      '@storybook/testing-library': '^0.0.9',
      '@svgr/webpack': '~6.1.2',
      '@teamsupercell/typings-for-css-modules-loader': '~2.5.1',
      '@types/he': '^1.1.2',
      '@types/jest': '^29.0.0',
      '@types/lodash.camelcase': '^4.3.7',
      '@types/lodash.clonedeep': '^4.5.7',
      '@types/lodash.debounce': '^4.0.7',
      '@types/lodash.flow': '^3.5.7',
      '@types/lodash.get': '^4.4.7',
      '@types/lodash.intersection': '^4.4.7',
      '@types/lodash.isequal': '^4.5.6',
      '@types/lodash.kebabcase': '^4.1.7',
      '@types/lodash.map': '^4.6.13',
      '@types/lodash.merge': '^4.6.7',
      '@types/lodash.pick': '^4.4.7',
      '@types/lodash.snakecase': '^4.1.7',
      '@types/lodash.startcase': '^4.4.7',
      '@types/lodash.uniqueid': '^4.0.7',
      '@types/lodash.upperfirst': '^4.3.7',
      '@types/node': '^17.0.22',
      '@types/react': '^16.14.25',
      '@types/react-dom': '^18.0.5',
      '@types/react-helmet': '^6.1.5',
      '@types/react-textfit': '^1.1.0',
      '@typescript-eslint/eslint-plugin': '^5.17.0',
      '@typescript-eslint/parser': '^5.17.0',
      acorn: '^8.7.0',
      autoprefixer: '~10.4.2',
      'babel-eslint': '~10.1.0',
      'babel-jest': '^29.0.2',
      'babel-loader': '~8.2.3',
      'babel-plugin-dynamic-import-webpack': '^1.1.0',
      'babel-plugin-transform-export-extensions': '^6.22.0',
      'babel-preset-jest': '^29.0.2',
      'clean-webpack-plugin': '~4.0.0',
      'compression-webpack-plugin': '^10.0.0',
      'copy-webpack-plugin': '^6.4.1',
      'core-js': '~3.20.2',
      'cross-env': '^7.0.3',
      'css-loader': '~6.5.1',
      cssnano: '~5.0.15',
      dotenv: '^16.0.0',
      eslint: '~8.6.0',
      'eslint-config-airbnb': '^19.0.4',
      'eslint-config-airbnb-base': '~15.0.0',
      'eslint-config-airbnb-typescript': '~16.1.4',
      'eslint-config-prettier': '~8.5.0',
      'eslint-import-resolver-alias': '~1.1.2',
      'eslint-plugin-import': '~2.25.4',
      'eslint-plugin-jsx-a11y': '~6.5.1',
      'eslint-plugin-prettier': '^4.0.0',
      'eslint-plugin-react': '~7.29.4',
      'eslint-plugin-react-hooks': '~4.4.0',
      'eslint-webpack-plugin': '^3.1.1',
      esm: '^3.2.25',
      'fast-sass-loader': '^2.0.1',
      'fork-ts-checker-webpack-plugin': '~6.5.0',
      'html-loader': '~3.1.0',
      'html-webpack-plugin': '~5.5.0',
      'image-minimizer-webpack-plugin': '^3.2.3',
      'img-optimize-loader': '^1.0.7',
      'import-sort-style-module-and-prefix': '~0.1.3',
      jest: '^27.5.1',
      'jest-transform-stub': '^2.0.0',
      lodash: '^4.17.21',
      'mini-css-extract-plugin': '~2.6.0',
      'optimize-plugin': '^1.3.0',
      path: '~0.12.7',
      postcss: '~8.4.12',
      'postcss-loader': '~6.2.1',
      prettier: '~2.5.1',
      'prettier-plugin-import-sort': '~0.0.7',
      'pretty-quick': '~3.1.3',
      'react-refresh': '~0.11.0',
      'react-scripts': '^5.0.0',
      'react-textfit': '^1.1.1',
      'reflect-metadata': '^0.1.13',
      'regenerator-runtime': '~0.13.9',
      'resolve-url-loader': '~4.0.0',
      sass: '~1.49.9',
      'sass-loader': '~12.6.0',
      'sass-resources-loader': '~2.2.4',
      'simple-git-hooks': '^2.7.0',
      'storybook-addon-jsx': '^7.3.14',
      'storybook-css-modules-preset': '^1.1.1',
      'style-loader': '^3.3.1',
      'svg-spritemap-webpack-plugin': '4.4.0',
      'svg-url-loader': '~7.1.1',
      svgo: '^2.8.0',
      'terser-webpack-plugin': '~5.3.0',
      'ts-loader': '~9.2.6',
      typescript: '~4.6.2',
      'typescript-eslint': '^0.0.1-alpha.0',
      'url-loader': '~4.1.1',
      webpack: '~5.70.0',
      'webpack-bundle-analyzer': '~4.5.0',
      'webpack-cli': '~4.10.0',
      'webpack-dev-server': '^4.7.4',
      'webpack-merge': '~5.8.0',
      'webpack-stream': '^7.0.0'
    }
  },
  fs: { numberOfFiles: 3514 },
  debug: [
    '2022-09-08T16:13:47.898Z config Attempting automatic configuration for angular\n',
    '2022-09-08T16:13:47.900Z angular/cli config Angular CLI not found.\n',
    '2022-09-08T16:13:47.900Z config Finished attempting automatic configuration for angular (2ms)\n',
    '2022-09-08T16:13:47.901Z config Attempting automatic configuration for jest\n',
    '2022-09-08T16:13:47.954Z jest/config Detected Jest.\n',
    '2022-09-08T16:13:47.954Z jest/config Configured Jest.\n',
    '2022-09-08T16:13:47.954Z config Finished attempting automatic configuration for jest (53ms)\n',
    '2022-09-08T16:13:47.955Z project Wallaby Node version: v16.14.2\n',
    '2022-09-08T16:13:47.955Z project Wallaby config: <homeDir>/Sites/chelsea/src/Website/auto.detect\n',
    '2022-09-08T16:13:47.959Z fs File system starting\n',
    '2022-09-08T16:13:48.120Z fs File system scan completed\n',
    '2022-09-08T16:13:48.211Z project File cache: <homeDir>/.vscode/extensions/wallabyjs.wallaby-vscode-1.0.347/projects/eec6a7e1805e0f04\n',
    '2022-09-08T16:13:48.237Z uiService Listening port 51235\n',
    '2022-09-08T16:13:48.241Z project package.json file change detected, invalidating local cache\n',
    '2022-09-08T16:13:48.274Z workers Parallelism for initial run: 8, for regular run: 4\n',
    '2022-09-08T16:13:48.274Z workers Starting run worker instance #0\n',
    '2022-09-08T16:13:48.274Z workers Starting run worker instance #1\n',
    '2022-09-08T16:13:48.274Z workers Starting run worker instance #2\n',
    '2022-09-08T16:13:48.274Z workers Starting run worker instance #3\n',
    '2022-09-08T16:13:48.274Z workers Starting run worker instance #4\n',
    '2022-09-08T16:13:48.274Z workers Starting run worker instance #5\n',
    '2022-09-08T16:13:48.274Z workers Starting run worker instance #6\n',
    '2022-09-08T16:13:48.274Z workers Starting run worker instance #7\n',
    '2022-09-08T16:13:48.275Z workers Web server is listening at 53096\n',
    '2022-09-08T16:13:48.275Z project File cache requires some updates, waiting required files from IDE\n',
    '2022-09-08T16:13:48.298Z project Stopping process pool\n',
    '2022-09-08T16:13:48.300Z project Test run started; run priority: 3\n',
    '2022-09-08T16:13:48.304Z project Running all tests\n',
    '2022-09-08T16:13:48.333Z workers Starting test run, priority: 3\n',
    '2022-09-08T16:13:48.333Z nodeRunner Starting sandbox [worker #0, session #h9eli]\n',
    '2022-09-08T16:13:48.334Z nodeRunner Preparing sandbox [worker #0, session #h9eli]\n',
    '2022-09-08T16:13:48.410Z workers Started run worker instance (delayed) #1\n',
    '2022-09-08T16:13:48.412Z workers Started run worker instance (delayed) #3\n',
    '2022-09-08T16:13:48.414Z workers Started run worker instance (delayed) #0\n',
    '2022-09-08T16:13:48.414Z nodeRunner Prepared sandbox [worker #0, session #h9eli]\n',
    '2022-09-08T16:13:48.414Z workers [worker #0, session #h9eli] Running tests in sandbox\n',
    '2022-09-08T16:13:48.420Z workers Started run worker instance (delayed) #7\n',
    '2022-09-08T16:13:48.420Z workers Started run worker instance (delayed) #5\n',
    '2022-09-08T16:13:48.420Z workers Started run worker instance (delayed) #4\n',
    '2022-09-08T16:13:48.422Z workers Started run worker instance (delayed) #6\n',
    '2022-09-08T16:13:48.422Z workers Started run worker instance (delayed) #2\n',
    '2022-09-08T16:13:49.884Z workers Scheduling Jest Test Run (h9eli): 2022-09-08T16:13:49.187Z\n',
    '2022-09-08T16:13:49.894Z workers [h9eli] Loaded unknown number of test(s)\n',
    '2022-09-08T16:13:49.894Z workers [h9eli] Test executed: returns true for valid required fields that do not include email\n',
    '2022-09-08T16:13:49.895Z workers [h9eli] Run 1 test(s), skipped 0 test(s)\n',
    '2022-09-08T16:13:49.896Z workers Jest Test Run Complete (h9eli): 2022-09-08T16:13:49.883Z\n',
    '2022-09-08T16:13:49.896Z workers [h9eli] Sandbox is responsive, closing it\n',
    '2022-09-08T16:13:49.896Z project Test run finished\n',
    '2022-09-08T16:13:49.897Z project Processed console.log entries\n',
    '2022-09-08T16:13:49.897Z project Processed loading sequences\n',
    '2022-09-08T16:13:49.897Z project Processed executed tests\n',
    '2022-09-08T16:13:49.899Z project Processed code coverage\n',
    '2022-09-08T16:13:49.920Z project Test run result processed and sent to IDE\n',
    '2022-09-08T16:14:10.308Z fs File changed in editor: src/contexts/User/store/computed.spec.ts\n',
    '2022-09-08T16:14:10.313Z project Test run started; run priority: 2\n',
    '2022-09-08T16:14:10.313Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2022-09-08T16:14:10.334Z workers Starting test run, priority: 2\n',
    '2022-09-08T16:14:10.335Z nodeRunner Starting sandbox [worker #0, session #ynhjg]\n',
    '2022-09-08T16:14:10.335Z nodeRunner Preparing sandbox [worker #0, session #ynhjg]\n',
    '2022-09-08T16:14:10.335Z nodeRunner Prepared sandbox [worker #0, session #ynhjg]\n',
    '2022-09-08T16:14:10.335Z workers [worker #0, session #ynhjg] Running tests in sandbox\n',
    '2022-09-08T16:14:10.439Z workers Scheduling Jest Test Run (ynhjg): 2022-09-08T16:14:10.345Z\n',
    '2022-09-08T16:14:10.440Z workers [ynhjg] Loaded unknown number of test(s)\n',
    '2022-09-08T16:14:10.441Z workers Sandbox (active) [ynhjg] error: Your test suite must contain at least one test.\n' +
      '    at onResult (./node_modules/@jest/core/build/TestScheduler.js:175:18)\n' +
      '    at ./node_modules/@jest/core/build/TestScheduler.js:316:17\n' +
      '    at ./node_modules/emittery/index.js:260:13\n' +
      '    at Array.map (<anonymous>)\n' +
      '    at Emittery.emit (./node_modules/emittery/index.js:258:23)\n',
    '2022-09-08T16:14:10.442Z workers [ynhjg] Run 0 test(s), skipped 0 test(s)\n',
    '2022-09-08T16:14:10.442Z workers Jest Test Run Complete (ynhjg): 2022-09-08T16:14:10.439Z\n',
    '2022-09-08T16:14:10.442Z workers [ynhjg] Sandbox is responsive, closing it\n',
    '2022-09-08T16:14:10.442Z workers Failed to map the stack to user code, entry message: Your test suite must contain at least one test., stack: Error: Your test suite must contain at least one test.\n' +
      '    at onResult (<homeDir>/Sites/chelsea/src/Website/node_modules/@jest/core/build/TestScheduler.js:175:18)\n' +
      '    at <homeDir>/Sites/chelsea/src/Website/node_modules/@jest/core/build/TestScheduler.js:316:17\n' +
      '    at <homeDir>/Sites/chelsea/src/Website/node_modules/emittery/index.js:260:13\n' +
      '    at Array.map (<anonymous>)\n' +
      '    at Emittery.emit (<homeDir>/Sites/chelsea/src/Website/node_modules/emittery/index.js:258:23)\n',
    '2022-09-08T16:14:10.442Z project Test run finished\n',
    '2022-09-08T16:14:10.442Z project Processed console.log entries\n',
    '2022-09-08T16:14:10.442Z project Processed loading sequences\n',
    '2022-09-08T16:14:10.442Z project Processed executed tests\n',
    '2022-09-08T16:14:10.443Z project Processed code coverage\n',
    '2022-09-08T16:14:10.444Z project Test run result processed and sent to IDE\n',
    '2022-09-08T16:14:16.634Z fs File changed in editor: src/contexts/User/store/computed.spec.ts\n',
    '2022-09-08T16:14:16.638Z project Test run started; run priority: 2\n',
    '2022-09-08T16:14:16.638Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2022-09-08T16:14:16.660Z workers Starting test run, priority: 2\n',
    '2022-09-08T16:14:16.660Z nodeRunner Starting sandbox [worker #0, session #31dw1]\n',
    '2022-09-08T16:14:16.660Z nodeRunner Preparing sandbox [worker #0, session #31dw1]\n',
    '2022-09-08T16:14:16.660Z nodeRunner Prepared sandbox [worker #0, session #31dw1]\n',
    '2022-09-08T16:14:16.660Z workers [worker #0, session #31dw1] Running tests in sandbox\n',
    '2022-09-08T16:14:16.754Z workers Scheduling Jest Test Run (31dw1): 2022-09-08T16:14:16.671Z\n',
    '2022-09-08T16:14:16.755Z workers [31dw1] Loaded unknown number of test(s)\n',
    '2022-09-08T16:14:16.756Z workers [31dw1] Test executed: returns true for valid required fields that do not include email\n',
    '2022-09-08T16:14:16.759Z workers [31dw1] Run 1 test(s), skipped 0 test(s)\n',
    '2022-09-08T16:14:16.759Z workers Jest Test Run Complete (31dw1): 2022-09-08T16:14:16.753Z\n',
    '2022-09-08T16:14:16.760Z workers [31dw1] Sandbox is responsive, closing it\n',
    '2022-09-08T16:14:16.760Z project Test run finished\n',
    '2022-09-08T16:14:16.760Z project Processed console.log entries\n',
    '2022-09-08T16:14:16.760Z project Processed loading sequences\n',
    '2022-09-08T16:14:16.760Z project Processed executed tests\n',
    '2022-09-08T16:14:16.761Z project Processed code coverage\n',
    '2022-09-08T16:14:16.763Z project Test run result processed and sent to IDE\n',
    '2022-09-08T16:14:23.104Z fs File changed in editor: src/contexts/User/store/computed.spec.ts\n',
    '2022-09-08T16:14:23.108Z project Test run started; run priority: 2\n',
    '2022-09-08T16:14:23.108Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2022-09-08T16:14:23.129Z workers Starting test run, priority: 2\n',
    '2022-09-08T16:14:23.129Z nodeRunner Starting sandbox [worker #0, session #w8mtd]\n',
    '2022-09-08T16:14:23.129Z nodeRunner Preparing sandbox [worker #0, session #w8mtd]\n',
    '2022-09-08T16:14:23.129Z nodeRunner Prepared sandbox [worker #0, session #w8mtd]\n',
    '2022-09-08T16:14:23.129Z workers [worker #0, session #w8mtd] Running tests in sandbox\n',
    '2022-09-08T16:14:23.203Z workers Scheduling Jest Test Run (w8mtd): 2022-09-08T16:14:23.138Z\n',
    '2022-09-08T16:14:23.204Z workers [w8mtd] Loaded unknown number of test(s)\n',
    '2022-09-08T16:14:23.204Z workers [w8mtd] Test executed: returns true for valid required fields that do not include email\n',
    '2022-09-08T16:14:23.205Z workers [w8mtd] Run 1 test(s), skipped 0 test(s)\n',
    '2022-09-08T16:14:23.205Z workers Jest Test Run Complete (w8mtd): 2022-09-08T16:14:23.203Z\n',
    '2022-09-08T16:14:23.205Z workers [w8mtd] Sandbox is responsive, closing it\n',
    '2022-09-08T16:14:23.205Z project Test run finished\n',
    '2022-09-08T16:14:23.205Z project Processed console.log entries\n',
    '2022-09-08T16:14:23.205Z project Processed loading sequences\n',
    '2022-09-08T16:14:23.205Z project Processed executed tests\n',
    '2022-09-08T16:14:23.206Z project Processed code coverage\n',
    '2022-09-08T16:14:23.207Z project Test run result processed and sent to IDE\n',
    '2022-09-08T16:14:23.337Z fs File changed in editor: src/contexts/User/store/computed.spec.ts\n',
    '2022-09-08T16:14:23.339Z project Test run started; run priority: 2\n',
    '2022-09-08T16:14:23.339Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2022-09-08T16:14:23.357Z workers Starting test run, priority: 2\n',
    '2022-09-08T16:14:23.357Z nodeRunner Starting sandbox [worker #0, session #1o9e5]\n',
    '2022-09-08T16:14:23.357Z nodeRunner Preparing sandbox [worker #0, session #1o9e5]\n',
    '2022-09-08T16:14:23.357Z nodeRunner Prepared sandbox [worker #0, session #1o9e5]\n',
    '2022-09-08T16:14:23.357Z workers [worker #0, session #1o9e5] Running tests in sandbox\n',
    '2022-09-08T16:14:23.436Z workers Scheduling Jest Test Run (1o9e5): 2022-09-08T16:14:23.368Z\n',
    '2022-09-08T16:14:23.439Z workers [1o9e5] Loaded unknown number of test(s)\n',
    '2022-09-08T16:14:23.441Z workers [1o9e5] Test executed: returns true for valid required fields that do not include email\n',
    '2022-09-08T16:14:23.448Z workers [1o9e5] Run 1 test(s), skipped 0 test(s)\n',
    '2022-09-08T16:14:23.448Z workers Jest Test Run Complete (1o9e5): 2022-09-08T16:14:23.431Z\n',
    '2022-09-08T16:14:23.450Z workers [1o9e5] Sandbox is responsive, closing it\n',
    '2022-09-08T16:14:23.450Z project Test run finished\n',
    '2022-09-08T16:14:23.450Z project Processed console.log entries\n',
    '2022-09-08T16:14:23.450Z project Processed loading sequences\n',
    '2022-09-08T16:14:23.450Z project Processed executed tests\n',
    '2022-09-08T16:14:23.450Z project Processed code coverage\n',
    '2022-09-08T16:14:23.452Z project Test run result processed and sent to IDE\n',
    '2022-09-08T16:14:23.620Z fs File changed in editor: src/contexts/User/store/computed.spec.ts\n',
    '2022-09-08T16:14:23.624Z project Test run started; run priority: 2\n',
    '2022-09-08T16:14:23.624Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2022-09-08T16:14:23.644Z workers Starting test run, priority: 2\n',
    '2022-09-08T16:14:23.644Z nodeRunner Starting sandbox [worker #0, session #mb5t6]\n',
    '2022-09-08T16:14:23.644Z nodeRunner Preparing sandbox [worker #0, session #mb5t6]\n',
    '2022-09-08T16:14:23.644Z nodeRunner Prepared sandbox [worker #0, session #mb5t6]\n',
    '2022-09-08T16:14:23.644Z workers [worker #0, session #mb5t6] Running tests in sandbox\n',
    '2022-09-08T16:14:23.722Z workers Scheduling Jest Test Run (mb5t6): 2022-09-08T16:14:23.654Z\n',
    '2022-09-08T16:14:23.723Z workers [mb5t6] Loaded unknown number of test(s)\n',
    '2022-09-08T16:14:23.723Z workers [mb5t6] Test executed: returns true for valid required fields that do not include email\n',
    '2022-09-08T16:14:23.723Z workers [mb5t6] Run 1 test(s), skipped 0 test(s)\n',
    '2022-09-08T16:14:23.724Z workers Jest Test Run Complete (mb5t6): 2022-09-08T16:14:23.721Z\n',
    '2022-09-08T16:14:23.724Z workers [mb5t6] Sandbox is responsive, closing it\n',
    '2022-09-08T16:14:23.724Z project Test run finished\n',
    '2022-09-08T16:14:23.724Z project Processed console.log entries\n',
    '2022-09-08T16:14:23.724Z project Processed loading sequences\n',
    '2022-09-08T16:14:23.724Z project Processed executed tests\n',
    '2022-09-08T16:14:23.724Z project Processed code coverage\n',
    '2022-09-08T16:14:23.725Z project Test run result processed and sent to IDE\n',
    '2022-09-08T16:14:23.868Z fs File changed in editor: src/contexts/User/store/computed.spec.ts\n',
    '2022-09-08T16:14:23.872Z project Test run started; run priority: 2\n',
    '2022-09-08T16:14:23.872Z testTask Test files from affected: 1, from deleted or manually requested: 0, from recently changed: 0, from loaded by: 0, from failing: 0\n',
    '2022-09-08T16:14:23.892Z workers Starting test run, priority: 2\n',
    '2022-09-08T16:14:23.892Z nodeRunner Starting sandbox [worker #0, session #im4q5]\n',
    '2022-09-08T16:14:23.892Z nodeRunner Preparing sandbox [worker #0, session #im4q5]\n',
    '2022-09-08T16:14:23.892Z nodeRunner Prepared sandbox [worker #0, session #im4q5]\n',
    '2022-09-08T16:14:23.892Z workers [worker #0, session #im4q5] Running tests in sandbox\n',
    '2022-09-08T16:14:23.956Z workers Scheduling Jest Test Run (im4q5): 2022-09-08T16:14:23.901Z\n',
    '2022-09-08T16:14:23.957Z workers [im4q5] Loaded unknown number of test(s)\n',
    '2022-09-08T16:14:23.957Z workers [im4q5] Test executed: returns true for valid required fields that do not include email\n',
    '2022-09-08T16:14:23.958Z workers [im4q5] Run 1 test(s), skipped 0 test(s)\n',
    '2022-09-08T16:14:23.958Z workers Jest Test Run Complete (im4q5): 2022-09-08T16:14:23.956Z\n',
    '2022-09-08T16:14:23.958Z workers [im4q5] Sandbox is responsive, closing it\n',
    '2022-09-08T16:14:23.958Z project Test run finished\n',
    '2022-09-08T16:14:23.958Z project Processed console.log entries\n',
    '2022-09-08T16:14:23.958Z project Processed loading sequences\n',
    '2022-09-08T16:14:23.958Z project Processed executed tests\n',
    '2022-09-08T16:14:23.959Z project Processed code coverage\n',
    '2022-09-08T16:14:23.959Z project Test run result processed and sent to IDE\n',
    '2022-09-08T16:14:26.947Z fs File changed: src/contexts/User/store/computed.spec.ts\n',
    '2022-09-08T16:14:26.949Z fs No changes detected for src/contexts/User/store/computed.spec.ts\n',
    '2022-09-08T16:14:26.949Z extended-core File was not changed, but file markers may need to be synced\n'
  ]
}
smcenlly commented 2 years ago

Is there a way to save this path in my workspace settings json file? If not, might it be something for the future?

It's not possible today. Adding as a feature request